#include <nnsys/snd.h>void NNS_SndStrmSetChannelVolume( NNSSndStrm* stream, int chNo, int volume );
stream |
Pointer to a stream structure. |
chNo |
The channel number. |
volume |
Volume value. Units are 0.1dB. This becomes the maximum for 0dB. |
This function changes the stream's channel volume.
The channel number chNo is the channel that is in the current stream. The channel number chNo value is not directly related to the channel number that is mounted in the NITRO sound circuit. For example, if you allocate two channels with the NNS_SndStrmAllocChannel function, the first channel will be channel number 0, and the second channel will be channel number 1.
The default volume is 0dB. The effects that are affected by the values of this volume are independent from NNS_SndStrmSetVolume. The two values will be combined.
NNS_SndStrmAllocChannel, NNS_SndStrmSetVolume
08/10/2004 Initial version.