diff options
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 021c5af48..200b65def 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -239,8 +239,7 @@ static int alsa_openDevice(AudioOutput * audioOutput) if(err < 0) goto error; cmd = "snd_pcm_sw_params_set_start_threshold"; - err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams, - alsa_buffer_size - alsa_period_size); + err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams, 0); if(err < 0) goto error; cmd = "snd_pcm_sw_params_set_avail_min"; |