# NNS_SndArcStrmSetChannelPan

## Syntax

      #include <nnsys/snd.h>

      void NNS_SndArcStrmSetChannelPan(
              NNSSndStrmHandle* handle,
              int chNo,
              int pan );

## Arguments

`handle` | Pointer to a stream handle.
`chNo` | The channel number.
`pan` | Pan position value. Takes values in the range of 0 (left) to 64 (center) to 127 (right).

## Return Values

None.

## Description

This function changes the channel pan of the stream bound 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.

By default, monoaural data is played in the center (64) and stereo is played with channel 0 output from the left (0) and channel 1 output from the right (127). When this function is called, these default values can be changed.

## See Also

None.

## Revision History

2004/08/10 Initial version.

CONFIDENTIAL