# NNS_SndStrmSetChannelPan

## Syntax

      #include <nnsys/snd.h>

      void NNS_SndStrmSetChannelPan(
              NNSSndStrm* stream,
              int chNo,
              int pan );

## Arguments

`stream` | Pointer to a stream structure.
`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

Changes the stream's channel pan. The default pan value is 64 (center).

The channel number `chNo` is the number of the currently streaming channel. 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, 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.

## See Also

NNS_SndStrmAllocChannel

## Revision History

2004/08/10 Initial version.

CONFIDENTIAL