Browse Source

ASIO: Update the sample rate when resetting device so it is in sync with control panels

tags/2021-05-28
ed 5 years ago
parent
commit
dc81c295cd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_audio_devices/native/juce_win32_ASIO.cpp

+ 2
- 0
modules/juce_audio_devices/native/juce_win32_ASIO.cpp View File

@@ -459,6 +459,8 @@ public:
if (initError.isNotEmpty())
JUCE_ASIO_LOG ("ASIOInit: " + initError);
setSampleRate (getSampleRate());
needToReset = false;
}


Loading…
Cancel
Save