NNS_SndPlayerSetVolume

Syntax

#include <nnsys/snd.h>
void NNS_SndPlayerSetVolume( NNSSndHandle* handle, int volume );

Arguments

handle The sound handle pointer.
volume Volume value. Takes a value between 0 and 127.

Return Values

None.

Description

This function changes the sequence volume.

The volume of the sequence that is bound to the Sound Handle is changed. This function does not perform any action if the stream handle is invalid.

The default value for volume is the maximum of 127. This value affects all sequence tracks. Furthermore, this value exhibits effects that are independent of all other track volume parameters. The track volume parameters have an cumulative effect.

See Also

None.

Revision History

2004/06/01 Fixed description to state that the Sound Handle binds to the sequence.
2004/04/01 Initial version.


CONFIDENTIAL