Support for multiple instances of QAudioOutput using multiple Qt threads
-
Hi and welcome to devnet,
Do you want to play several files each on a different speaker ?
-
So mixing the content of different files ?
-
I guess I was looking for the simplest solution - I thought that by (say) having two instances of QAudioOutput that I could potentially playback two audio streams simultaneously and have the OS handle any mixing - thereby avoiding need for own mixing step. Would this be possible?
-
What OS do you have in mind ?
Note that running a small test case would likely have gotten you the answer sooner.
-
@Qwerty123 Sorry to butt in again. Get Audacity! Add your two Audio Files. Pan them Left&Right in the stereo field and Export. One file with both Audio Sources. Now you only need one instance of QAudioOutput. (Be careful with audio levels and unwanted frequencies like too much bass - less is more!)