Answer the question
In order to leave comments, you need to log in
How to send sound to a specific channel of a specific sound box?
Given: there is a computer with three sound cards, it is necessary to play different sound files so that the sound goes only to one of the channels of one of the cards. Can you please tell me what libraries for C ++ can solve this problem?
Answer the question
In order to leave comments, you need to log in
The final solution is the BASS library from Un4seen developments. It allows you to play sound on a specific channel, or mix multiple channels using the BassMixer class.
It's a driver and OS problem. Those. there is no and cannot be a general solution in C++, but there is a solution for a specific operating system.
For example, WinAPI has a waveOutOpen function, which is passed the identifier of a specific output device. Of course, first you need to list the available devices, select the one you need and already transfer it.
Google further on this name.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question