This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
ASIO: Add short sleep after calling setSampleRate() to allow devices to respond to changes
v6.1.6
ed
3 years ago
parent
fd7e4afcda
commit
61fdde7cf9
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
modules/juce_audio_devices/native/juce_win32_ASIO.cpp
+ 2
- 0
modules/juce_audio_devices/native/juce_win32_ASIO.cpp
View File
@@ -960,6 +960,8 @@ private:
JUCE_ASIO_LOG_ERROR ("setClockSource2", err);
Thread::sleep (10);
err = asioObject->setSampleRate (newRate);
JUCE_ASIO_LOG_ERROR ("setSampleRate", err);
Thread::sleep (10);
}
if (err == 0)
Write
Preview
Loading…
Cancel
Save