How to play sound on specific audio device?
-
I need to play sounds on different audio devices on the machine.
Currently, I use QSound, but it only works on current default audio device.I'm able to find info about available audio devices: QAudioDeviceInfo::availableDevices()
Is it somehow possible to have two C++ objects (QSound like) and use them for different audio outputs? -
I need to play sounds on different audio devices on the machine.
Currently, I use QSound, but it only works on current default audio device.I'm able to find info about available audio devices: QAudioDeviceInfo::availableDevices()
Is it somehow possible to have two C++ objects (QSound like) and use them for different audio outputs?@gkavrecic said in How to play sound on specific audio device?:
Is it somehow possible to have two C++ objects (QSound like) and use them for different audio outputs?
Not through the QSound mechanism. QSound is very primitive, only sinking to the default sound device.
-
@gkavrecic said in How to play sound on specific audio device?:
Is it somehow possible to have two C++ objects (QSound like) and use them for different audio outputs?
Not through the QSound mechanism. QSound is very primitive, only sinking to the default sound device.
@Kent-Dorfman
I'm aware of QSound limits.
Looking for an alternative.