mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 09:26:45 +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:
@ -204,7 +204,7 @@ static int start_transmission(ToxWindow *self, Call *call)
|
||||
return -1;
|
||||
}
|
||||
|
||||
DeviceError error = open_input_device(&call->in_idx, read_device_callback, &self->num, false,
|
||||
DeviceError error = open_input_device(&call->in_idx, read_device_callback, &self->num,
|
||||
CallControl.audio_sample_rate, CallControl.audio_frame_duration, CallControl.audio_channels);
|
||||
|
||||
if (error != de_None) {
|
||||
|
Reference in New Issue
Block a user