#include <nnsys/snd.h>void NNS_SndArcStrmSetChannelVolume(
NNSSndStrmHandle* handle,
int chNo,
int volume );
handle |
Pointer to a stream handle |
chNo |
The channel number |
volume |
Volume value. Takes a value between 0 and 127. |
This function changes the channel volume 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.
The default volume value is 127. This volume value independent of the value in NNS_SndArcStrmMoveVolume and can be combined to create effects.
2004/08/10 Initial version.
CONFIDENTIAL