summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authormannol <mannol@users.noreply.github.com>2015-10-24 16:16:42 +0200
committerEniz Vukovic <eniz_vukovic@hotmail.com>2015-10-24 16:22:56 +0200
commitcaa038287717e6fd47df420660c0854246fbc4c8 (patch)
tree3fa4b8b1e73aed1b6540d94633c9fb33c826b666 /toxav
parent87828a1b425fb46d3276f6166f9de49744b8e583 (diff)
Fix misplaced log message.
Diffstat (limited to 'toxav')
-rw-r--r--toxav/audio.c2
1 files changed, 1 insertions, 1 deletions
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
228 &ac->le_channel_count)) 228 &ac->le_channel_count))
229 return -1; 229 return -1;
230 230
231 LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", bit_rate, sampling_rate, channels);
232 return 0; 231 return 0;
233} 232}
234 233
@@ -409,6 +408,7 @@ bool reconfigure_audio_encoder(OpusEncoder **e, int32_t new_br, int32_t new_sr,
409 *old_sr = new_sr; 408 *old_sr = new_sr;
410 *old_ch = new_ch; 409 *old_ch = new_ch;
411 410
411 LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", new_br, new_sr, new_ch);
412 return true; 412 return true;
413} 413}
414bool reconfigure_audio_decoder(ACSession *ac, int32_t sampling_rate, int8_t channels) 414bool reconfigure_audio_decoder(ACSession *ac, int32_t sampling_rate, int8_t channels)