summaryrefslogtreecommitdiff
path: root/shairport.c
diff options
context:
space:
mode:
authorMike Brady <mikebradydublin@icloud.com>2020-06-21 15:36:56 +0100
committerMike Brady <mikebradydublin@icloud.com>2020-06-21 15:36:56 +0100
commit7e01da543ce10f7b42bcfe259dea3d1d7b5c34ae (patch)
tree29d4345cc68079a79a9c2ae89f6a7d4430cc3757 /shairport.c
parent9079dea96f8985068f819548dbc288aab3f406ac (diff)
Fix the default audio_backend_buffer_desired_length and move the exit messages to debiug level 1
Diffstat (limited to 'shairport.c')
-rw-r--r--shairport.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/shairport.c b/shairport.c
index 1553bf2..808f3c6 100644
--- a/shairport.c
+++ b/shairport.c
@@ -1400,15 +1400,15 @@ Actually, there is no stop_mpris_service() function.
#ifdef CONFIG_LIBDAEMON
if (this_is_the_daemon_process) { // this is the daemon that is exiting
- debug(2,"libdaemon daemon exit");
+ debug(1,"libdaemon daemon exit");
} else {
if (config.daemonise)
- debug(2,"libdaemon parent exit");
+ debug(1,"libdaemon parent exit");
else
- debug(2,"exit");
+ debug(1,"exit");
}
#else
- debug(2,"exit");
+ debug(1,"exit");
#endif
}
@@ -1528,7 +1528,7 @@ int main(int argc, char **argv) {
// snprintf(config.service_name, 20 + 100, "Shairport Sync on %s", hostname);
set_requested_connection_state_to_output(
1); // we expect to be able to connect to the output device
- config.audio_backend_buffer_desired_length = 6615; // 0.15 seconds.
+ config.audio_backend_buffer_desired_length = 0.15; // seconds
config.udp_port_base = 6001;
config.udp_port_range = 10;
config.output_format = SPS_FORMAT_S16_LE; // default