G
G
Gleb Igumnov2016-02-09 10:22:07
C++ / C#
Gleb Igumnov, 2016-02-09 10:22:07

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

2 answer(s)
G
Gleb Igumnov, 2016-06-28
@CrazySage

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.

M
maaGames, 2016-02-09
@maaGames

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 question

Ask a Question

731 491 924 answers to any question