# NNS_SndWaveOutSetPan

## C Specification

      #include <nnsys/snd.h>

      void NNS_SndWaveOutSetPan( NNSSndWaveOutHandle handle, int pan );

## Arguments

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

## Return Values

None.

## Description

Changes the pan (location) for playing back waveforms. If this function is called to the waveform playback handle of the waveform that is being 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

10/19/2004 Added a note on calling this function.

07/01/2004 Initial version.