Audio decoder: message change

This commit is contained in:
Martin Pulec
2014-04-10 14:35:12 +02:00
parent 11fc4538e3
commit d83ed205cd

View File

@@ -430,8 +430,8 @@ int decode_audio_frame(struct coded_data *cdata, void *data)
if(device_sample_rate == sample_rate) // no resampling
device_bps = bps;
printf("New incoming audio format detected: %d Hz, %d channels, %d bits per sample, codec %s\n",
sample_rate, input_channels, bps * 8,
printf("New incoming audio format detected: %d Hz, %d channel%s, %d bits per sample, codec %s\n",
sample_rate, input_channels, input_channels == 1 ? "": "s", bps * 8,
get_name_to_audio_codec(get_audio_codec_to_tag(audio_tag)));