0
0

If I have a sound card with 8 channels, how can I choose which channel to output to? If I use a stereo clip, I know I can do setSpeakerMix to split out left and right channels for channel 1 and 2 on the card, but how can I take the left channel of the clip and redirect it to channel 7 or 8 on the card?

  • You must to post comments
0
0

Try Channel::setSpeakerLevels.

From the API:
[quote:2inz9tw5]
Sets the incoming sound levels for a particular speaker. This is a literal setting of channel’s internal pan matrix and does NOT perform downmixing depending on speaker mode.

As an example of usage of this function, if the sound played on this speaker was mono, only 1 level would be needed.
If the sound played on this channel was stereo, then an array of 2 floats could be specified. For example { 0, 1 } on a channel playing a stereo sound would mute the left part of the stereo sound when it is played on this speaker.
[/quote:2inz9tw5]

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.