mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added ResizableBorderComponent::getCurrentZone(). Misc tidying-up.
This commit is contained in:
parent
fbe3d179fb
commit
cc26ae1fc1
10 changed files with 62 additions and 71 deletions
|
|
@ -224,12 +224,11 @@ void AudioTransportSource::setGain (const float newGain) noexcept
|
|||
gain = newGain;
|
||||
}
|
||||
|
||||
void AudioTransportSource::prepareToPlay (int samplesPerBlockExpected,
|
||||
double sampleRate_)
|
||||
void AudioTransportSource::prepareToPlay (int samplesPerBlockExpected, double newSampleRate)
|
||||
{
|
||||
const ScopedLock sl (callbackLock);
|
||||
|
||||
sampleRate = sampleRate_;
|
||||
sampleRate = newSampleRate;
|
||||
blockSize = samplesPerBlockExpected;
|
||||
|
||||
if (masterSource != nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue