mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix misplaced log message.
This commit is contained in:
parent
87828a1b42
commit
caa0382877
|
@ -228,7 +228,6 @@ int ac_reconfigure_encoder(ACSession *ac, int32_t bit_rate, int32_t sampling_rat
|
||||||
&ac->le_channel_count))
|
&ac->le_channel_count))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", bit_rate, sampling_rate, channels);
|
|
||||||
return 0;
|
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_sr = new_sr;
|
||||||
*old_ch = new_ch;
|
*old_ch = new_ch;
|
||||||
|
|
||||||
|
LOGGER_DEBUG ("Reconfigured audio encoder br: %d sr: %d cc:%d", new_br, new_sr, new_ch);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool reconfigure_audio_decoder(ACSession *ac, int32_t sampling_rate, int8_t channels)
|
bool reconfigure_audio_decoder(ACSession *ac, int32_t sampling_rate, int8_t channels)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user