diff options
author | Mike Brady <mikebrady@eircom.net> | 2019-02-28 14:48:41 +0000 |
---|---|---|
committer | Mike Brady <mikebrady@eircom.net> | 2019-02-28 14:48:41 +0000 |
commit | 41b584bd4314a119ac8cb9b8b8fe7eb9a8f0088e (patch) | |
tree | 85afdd4a840067403d531a8c40033ac23ca7200a /audio_alsa.c | |
parent | 042d940415ecd7d87388e5f8810e255282c0128e (diff) |
bring the active state timeout to 1 second and tidy up a few debug messages.
Diffstat (limited to 'audio_alsa.c')
-rw-r--r-- | audio_alsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio_alsa.c b/audio_alsa.c index 2312d83..a8449af 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -1002,7 +1002,7 @@ static int init(int argc, char **argv) { } } - debug(1, "alsa: disable_standby_mode is %d.", config.disable_standby_mode); + debug(1, "alsa: disable_standby_mode is \"%s\".", config.disable_standby_mode == disable_standby_off ? "never" : config.disable_standby_mode == disable_standby_always ? "always" : "while_active"); } optind = 1; // optind=0 is equivalent to optind=1 plus special behaviour @@ -1552,7 +1552,7 @@ void *alsa_buffer_monitor_thread_code(__attribute__((unused)) void *arg) { int okb = -1; while (1) { if (okb != config.keep_dac_busy) { - debug(1,"keep_dac_busy is now %d",config.keep_dac_busy); + debug(1,"keep_dac_busy is now \"%s\"",config.keep_dac_busy == 0 ? "no" : "yes"); okb = config.keep_dac_busy; } if ((config.keep_dac_busy != 0) && (alsa_device_initialised == 0)) { |