tdesktop
tdesktop copied to clipboard
selected audio output device is not respected during calls (uses two devices)
Steps to reproduce
- have at least two or more audio interfaces on Windows PC
- launch tdesktop
- in program settings -> speakers and cameras select NON DEFAULT audio output device (second). close dialog
- receive call from someone
- observe that ringing goes to selected in settings audio device BUT voice communication was from default windows audio device
Expected behaviour
expect tdesktop to use selected device for OUTPUT only. and don't use anything other.
Actual behaviour
actually i got tdesktop using all two sound devices (output ringing on selected, and voice on windows default).
In windows we hare 2 kinds of default devices:
- default device - All programs will have their audio played through this device (unless otherwise configured)
- default communications device - All calls/video call audio will be played through this device (unless otherwise configured) it will be cool then tdesktop can actually use this by default. Win32 API IMMDeviceEnumerator::GetDefaultAudioEndpoint have ERole parameter: use with eCommunications enum value.
Operating system
Windows
Version of Telegram Desktop
4.14.13 x64
Installation source
Static binary from official website
Crash ID
No response
Logs
No response