From 7e831237e88fc578bef8951b9b8f37970c34038f Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sun, 5 Feb 2017 17:20:35 +0000 Subject: [PATCH] Include interface and max_volume_db in the debug message --- shairport.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shairport.c b/shairport.c index 41520afe..56dff447 100644 --- a/shairport.c +++ b/shairport.c @@ -1173,6 +1173,10 @@ int main(int argc, char **argv) { debug(1, "drift tolerance is %f seconds.", config.tolerance); debug(1, "password is \"%s\".", config.password); debug(1, "ignore_volume_control is %d.", config.ignore_volume_control); + if (config.volume_max_db_set) + debug(1, "volume_max_db is %d.", config.volume_max_db); + else + debug(1, "volume_max_db is not set"); debug(1, "playback_mode is %d (0-stereo, 1-mono, 1-reverse_stereo, 2-both_left, 3-both_right).", config.playback_mode); debug(1, "disable_synchronization is %d.", config.no_sync);