1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

JUCE Demo: Increased the compiler warning level

This commit is contained in:
tpoole 2017-07-18 13:07:23 +01:00
parent 62101b554c
commit 98cb1011bb
19 changed files with 49 additions and 40 deletions

View file

@ -50,14 +50,14 @@ private:
struct AutoRemovingTransportSource : public AudioTransportSource, private Timer
{
AutoRemovingTransportSource (MixerAudioSource& mixerToUse, AudioTransportSource* ts, bool ownSource,
int samplesPerBlock, double sampleRate)
int samplesPerBlock, double requiredSampleRate)
: mixer (mixerToUse), transportSource (ts, ownSource)
{
jassert (ts != nullptr);
setSource (transportSource);
prepareToPlay (samplesPerBlock, sampleRate);
prepareToPlay (samplesPerBlock, requiredSampleRate);
start();
mixer.addInputSource (this, true);