NNS_SndStrmSetVolume

C Specification

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

Arguments

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

Return Values

None.

Description

This function changes the stream's volume. The default volume is 0dB.

This function changes the volume for all channels. To change the volume for individual channels, call the NNS_SndStrmSetChannelVolume function.

See Also

NNS_SndStrmSetChannelVolume

Revision History

08/10/2004 Initial version.