summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-08-29 19:23:53 +0200
committerRobin Gareus <robin@gareus.org>2018-08-29 19:23:53 +0200
commit46175b6b60eeec7cf8b8a10757035fa91ba36d29 (patch)
tree3d76f3854f2cbc3388e345d791abdd058c2958ef
parentfdbce2e8c89cc6a3e5ee3f9f06f7cc408c9ebbfb (diff)
Increase alsa-backend timeout
Following discussion (https://community.ardour.org/node/15805 and #ardour IRC) test initial disconnect due to timeout after a cold-boot.
-rw-r--r--libs/backends/alsa/alsa_audiobackend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc
index 4e92b854e8..42af5a4b92 100644
--- a/libs/backends/alsa/alsa_audiobackend.cc
+++ b/libs/backends/alsa/alsa_audiobackend.cc
@@ -1907,7 +1907,7 @@ AlsaAudioBackend::main_process_thread ()
uint64_t clock1;
_pcmi->pcm_start ();
int no_proc_errors = 0;
- const int bailout = 2 * _samplerate / _samples_per_period;
+ const int bailout = 5 * _samplerate / _samples_per_period;
manager.registration_callback();
manager.graph_order_callback();