From f20fa4f1c2f259929b096613e150dd05f84eaa7c Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 8 Dec 2018 14:37:36 +0000 Subject: [PATCH] Fix RTSP timeout and add timing checks for interfacing with the ALSA subsystem. Add entries to the configuration file. --- scripts/shairport-sync.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/shairport-sync.conf b/scripts/shairport-sync.conf index 97431d79..689f55ea 100644 --- a/scripts/shairport-sync.conf +++ b/scripts/shairport-sync.conf @@ -74,6 +74,8 @@ alsa = // buffer_size = ; // Use this optional advanced setting to set the alsa buffer size near to this value // use_mmap_if_available = "yes"; // Use this optional advanced setting to control whether MMAP-based output is used to communicate with the DAC. Default is "yes" // use_hardware_mute_if_available = "no"; // Use this optional advanced setting to control whether the hardware in the DAC is used for muting. Default is "no", for compatibility with other audio players. +// maximum_interface_response_time = 0.001; // Use this optional advanced setting to control how long a response should be waited for on the interface between Shairport Sync and the ALSA subsystem. +// maximum_write_time = 0.015; // Use this optional advanced setting to control how long it should take to write audio data to the ALSA subsystem. }; // Parameters for the "sndio" audio back end. All are optional.