1
0
Fork 0
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:
jules 2013-03-13 10:46:57 +00:00
parent fbe3d179fb
commit cc26ae1fc1
10 changed files with 62 additions and 71 deletions

View file

@ -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)