output: removed duplicate debug messages from plugins

The MPD core logs the audio format of all audio outputs.  Remove the
duplicate message from the plugins.
This commit is contained in:
Max Kellermann 2009-03-01 10:39:42 +01:00
parent e1b79479a5
commit 614fe8b341
4 changed files with 0 additions and 16 deletions

View File

@ -408,10 +408,6 @@ alsa_open(void *data, struct audio_format *audio_format, GError **error)
ad->frame_size = audio_format_frame_size(audio_format); ad->frame_size = audio_format_frame_size(audio_format);
g_debug("ALSA device \"%s\" will be playing %i bit, %u channel audio at %u Hz\n",
alsa_device(ad), audio_format->bits, audio_format->channels,
audio_format->sample_rate);
return true; return true;
} }

View File

@ -144,7 +144,6 @@ static void
set_audioformat(struct jack_data *jd, struct audio_format *audio_format) set_audioformat(struct jack_data *jd, struct audio_format *audio_format)
{ {
audio_format->sample_rate = jack_get_sample_rate(jd->client); audio_format->sample_rate = jack_get_sample_rate(jd->client);
g_debug("samplerate = %u", audio_format->sample_rate);
audio_format->channels = 2; audio_format->channels = 2;
if (audio_format->bits != 16 && audio_format->bits != 24) if (audio_format->bits != 16 && audio_format->bits != 24)

View File

@ -563,11 +563,6 @@ oss_output_open(void *data, struct audio_format *audio_format, GError **error)
*audio_format = od->audio_format; *audio_format = od->audio_format;
g_debug("device \"%s\" will be playing %u bit %u channel audio at "
"%u Hz\n", od->device,
od->audio_format.bits, od->audio_format.channels,
od->audio_format.sample_rate);
mixer_open(od->mixer); mixer_open(od->mixer);
return ret; return ret;

View File

@ -132,12 +132,6 @@ pulse_open(void *data, struct audio_format *audio_format, GError **error_r)
return false; return false;
} }
g_debug("PulseAudio output \"%s\" connected and playing %i bit, %i "
"channel audio at %i Hz\n",
pd->name,
audio_format->bits,
audio_format->channels, audio_format->sample_rate);
return true; return true;
} }