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:
parent
62101b554c
commit
98cb1011bb
19 changed files with 49 additions and 40 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue