# NNS_SndWaveOutSetPan

## Syntax

      #include <nnsys/snd.h>

      void NNS_SndWaveOutSetPan( NNSSndWaveOutHandle handle, int pan );

## Arguments

`handle` | Waveform playback handle.
`pan` | Pan position. Takes values in the range of 0 (left) to 64 (center) to 127 (right).

## Return Values

None.

## Description

Changes the pan position for playing back waveforms. If this function is called with the waveform playback handle `handle` of a waveform that is already stopped, it does not do anything.

This function is called to change pan during play. Use an argument in the `NNS_SndWaveOutStart` function to set the pan that will be used when play commences.

## See Also

NNS_SndWaveOutStart

## Revision History

2004/10/19 Added a note on how to call this function.
2004/07/01 Initial version.

CONFIDENTIAL