diff --git a/src/audio/alsalayer.cpp b/src/audio/alsalayer.cpp index e1ba97a377118d7bcb8b8b0b6bb4a9a05c07b3e7..72673ec566442a3cd146b7d19423019e90a8cffa 100644 --- a/src/audio/alsalayer.cpp +++ b/src/audio/alsalayer.cpp @@ -296,8 +296,8 @@ AlsaLayer::open_device(std::string pcm_p, std::string pcm_c, int flag) snd_pcm_uframes_t period_size_out = getFrameSize() * getSampleRate() / 1000 * 2;//1024 ; snd_pcm_uframes_t buffer_size_out = period_size_out * 4 ; - unsigned int buffer_time = 80000; //80ms - unsigned int period_time = buffer_time / 4 ; //20ms + unsigned int buffer_time = 100000; //100ms + unsigned int period_time = buffer_time / 4 ; //25ms if(flag == SFL_PCM_BOTH || flag == SFL_PCM_CAPTURE) {