From: habbbe Date: Wed, 26 Apr 2017 07:32:37 +0000 (+0200) Subject: Fixed desired buffer length for Pulseaudio X-Git-Tag: 3.1d16~45^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F514%2Fhead;p=thirdparty%2Fshairport-sync.git Fixed desired buffer length for Pulseaudio --- diff --git a/audio_pulse.c b/audio_pulse.c index 282263cb..7d117980 100644 --- a/audio_pulse.c +++ b/audio_pulse.c @@ -60,7 +60,7 @@ static int init(int argc, char **argv) { pulse_options.service_name = config.service_name; - config.audio_backend_buffer_desired_length = 44100; // one second. + config.audio_backend_buffer_desired_length = 1; // one second. config.audio_backend_latency_offset = 0; optind = 1; // optind=0 is equivalent to optind=1 plus special behaviour