From d83ed205cd82e65237ea4a4b330cc1ee35a0a3d8 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 10 Apr 2014 14:35:12 +0200 Subject: [PATCH] Audio decoder: message change --- src/rtp/audio_decoders.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtp/audio_decoders.c b/src/rtp/audio_decoders.c index bcd61a573..07a93bd68 100644 --- a/src/rtp/audio_decoders.c +++ b/src/rtp/audio_decoders.c @@ -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)));