#include <nnsys/snd.h>void NNS_SndArcStrmSetChannelPan(
NNSSndStrmHandle* handle,
int chNo,
int pan );handle |
Pointer to a stream handle |
chNo |
The channel number |
pan |
Pan (position) value Takes values in the range of 0 (left) to 64 (center) to 127 (right) |
This function changes the channel pan of the stream that is connected to the stream handle handle. This function does not perform any action if the stream handle is invalid.
The channel number chNo is the channel number in the stream data. The channel number chNo value is not directly related to the channel number that is mounted in the NITRO sound circuit. For example, for stereo stream data, the left channel is channel 0 and the right channel is channel 1.
By default, monoaural data is played in the center (64) and stereo is played with channel 0 output from the left (0) and channel 1 output from the right (127). When this function is called, these default values can be changed.
None.
08/10/2004 Initial version.
CONFIDENTIAL