]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fixed desired buffer length for Pulseaudio 514/head
authorhabbbe <habbbe@gmail.com>
Wed, 26 Apr 2017 07:32:37 +0000 (09:32 +0200)
committerhabbbe <habbbe@gmail.com>
Wed, 26 Apr 2017 07:32:37 +0000 (09:32 +0200)
audio_pulse.c

index 282263cbf9507bf8d9dae5dd800f8a7f5926ff5b..7d117980210e2b6a4638ba3b79221386ffc33bde 100644 (file)
@@ -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