# NNS_SndArcStrmSetChannelVolume

## Syntax

      #include <nnsys/snd.h>

      void NNS_SndArcStrmSetChannelVolume(
              NNSSndStrmHandle* handle,
              int chNo,
              int volume );

## Arguments

`handle` | Pointer to a stream handle.
`chNo` | The channel number.
`volume` | Volume value. Takes a value between 0 and 127.

## Return Values

None.

## Description

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 number of a channel currently streaming data. The channel number `chNo` value is not directly related to the channel numbers assigned by how channels are 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. The effect of this volume value is independent of the value in the `NNS_SndArcStrmMoveVolume` function. These two values have cumulative effects.

## See Also

NNS_SndArcStrmMoveVolume

## Revision History

2004/08/10 Initial version.

CONFIDENTIAL