Commit 14cca1c6 authored by Tristan Matthews's avatar Tristan Matthews

* #11278: alsa: increase sleep between calls to open

parent 543dc1b7
......@@ -160,7 +160,7 @@ bool AlsaLayer::openDevice(snd_pcm_t **pcm, const std::string &dev, snd_pcm_stre
// Retry if busy, since dmix plugin may not have released the device yet
for (int tries = 0; tries < MAX_RETRIES and err == -EBUSY; ++tries) {
const struct timespec req = {0, 10000000};
const struct timespec req = {0, 100000000L};
nanosleep(&req, 0);
err = snd_pcm_open(pcm, dev.c_str(), stream, 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment