From caa038287717e6fd47df420660c0854246fbc4c8 Mon Sep 17 00:00:00 2001 From: mannol Date: Sat, 24 Oct 2015 16:16:42 +0200 Subject: [PATCH] Fix misplaced log message. --- toxav/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/audio.c b/toxav/audio.c index 3ba95c03..4f9d3562 100644 --- a/toxav/audio.c +++ b/toxav/audio.c @@ -228,7 +228,6 @@ int ac_reconfigure_encoder(ACSession *ac, int32_t bit_rate, int32_t sampling_rat &ac->le_channel_count)) return -1; - LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", bit_rate, sampling_rate, channels); return 0; } @@ -409,6 +408,7 @@ bool reconfigure_audio_encoder(OpusEncoder **e, int32_t new_br, int32_t new_sr, *old_sr = new_sr; *old_ch = new_ch; + LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", new_br, new_sr, new_ch); return true; } bool reconfigure_audio_decoder(ACSession *ac, int32_t sampling_rate, int8_t channels)