NNS_SndStrmSetChannelVolume

C Specification

#include <nnsys/snd.h>
void NNS_SndStrmSetChannelVolume(
NNSSndStrm* stream,
int chNo,
int volume );

Arguments

stream Pointer to a stream structure.
chNo The channel number.
volume Volume value. Units are 0.1dB. This becomes the maximum for 0dB.

Return Values

None.

Description

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.

See Also

NNS_SndStrmAllocChannel, NNS_SndStrmSetVolume

Revision History

08/10/2004 Initial version.


CONFIDENTIAL