mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ASIO: Add short sleep after calling setSampleRate() to allow devices to respond to changes
This commit is contained in:
parent
fd7e4afcda
commit
61fdde7cf9
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue