From: Mike Brady Date: Mon, 29 Feb 2016 15:07:03 +0000 (+0000) Subject: Quieten a few debug messages X-Git-Tag: 2.9.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff33fe619b5327d446fff67b008332cef543304;p=thirdparty%2Fshairport-sync.git Quieten a few debug messages --- diff --git a/audio_alsa.c b/audio_alsa.c index 333ca8c9..3da9cf36 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -123,7 +123,7 @@ int open_mixer() { static int init(int argc, char **argv) { pthread_mutex_lock(&alsa_mutex); - debug(2,"audio_alsa init called."); + // debug(2,"audio_alsa init called."); const char *str; int value; @@ -285,7 +285,7 @@ static int init(int argc, char **argv) { } static void deinit(void) { - debug(2,"audio_alsa deinit called."); + // debug(2,"audio_alsa deinit called."); stop(); if (hardware_mixer && alsa_mix_handle) { snd_mixer_close(alsa_mix_handle); @@ -396,7 +396,7 @@ int open_alsa_device(void) { } static void start(int sample_rate) { - debug(2,"audio_alsa start called."); + // debug(2,"audio_alsa start called."); if (sample_rate != 44100) die("Unexpected sample rate %d -- only 44,100 supported!", sample_rate); desired_sample_rate = sample_rate; // must be a variable @@ -476,7 +476,7 @@ static void play(short buf[], int samples) { } static void flush(void) { - debug(2,"audio_alsa flush called."); + // debug(2,"audio_alsa flush called."); pthread_mutex_lock(&alsa_mutex); int derr; if (hardware_mixer && alsa_mix_handle) { @@ -557,7 +557,7 @@ static void linear_volume(double vol) { static void mute(int do_mute) { pthread_mutex_lock(&alsa_mutex); - debug(2,"audio_alsa mute called."); + // debug(2,"audio_alsa mute called."); if (hardware_mixer && alsa_mix_handle) { if (do_mute) { // debug(1,"Mute");