mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 05:56:46 +02:00
Fix issue with audio VAD threshold
The default VAD was always being set to 0. We now use the value provided by the config file if defined
This commit is contained in:
@ -1312,7 +1312,7 @@ bool init_conference_audio_input(Tox *tox, uint32_t conferencenum)
|
||||
int channels = user_settings->conference_audio_channels;
|
||||
|
||||
bool success = (open_input_device(&chat->audio_in_idx,
|
||||
conference_read_device_callback, &chat->audio_input_callback_data, true,
|
||||
conference_read_device_callback, &chat->audio_input_callback_data,
|
||||
CONFAV_SAMPLE_RATE, CONFAV_FRAME_DURATION, channels)
|
||||
== de_None);
|
||||
|
||||
|
Reference in New Issue
Block a user