mxlgv / dino

This is Dino+ A modern XMPP/Jabber client software, based on Dino
GNU General Public License v3.0
15 stars 9 forks source link

Add explicit audio converters to voice processor and echo probe #53

Closed igsha closed 5 months ago

igsha commented 5 months ago

This PR adds sample rate and audio format conversion for VoiceProcessor and EchoProbe. This is necessary because the microphone or speakers may not have a 48kHz sampling rate. For example, on Bluetooth headphones on a Mac the sampling frequency is no longer 16 kHz, on Windows in wasapi it is 44.1 kHz. This will be useful to avoid any problems with unknown microphones and headphones.