Browse Source

Demorunner: Fixed device manager bug in BlocksSynthDemo.h

tags/2021-05-28
Noah Dayan 7 years ago
parent
commit
613f40d0c2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      examples/BLOCKS/BlocksSynthDemo.h

+ 4
- 0
examples/BLOCKS/BlocksSynthDemo.h View File

@@ -352,7 +352,11 @@ public:
}
private:
#ifndef JUCE_DEMO_RUNNER
AudioDeviceManager audioDeviceManager;
#else
AudioDeviceManager& audioDeviceManager { getSharedAudioDeviceManager (0, 2) };
#endif
Synthesiser synthesiser;
//==============================================================================


Loading…
Cancel
Save