NNS_SndStrmSetChannelPan

C Specification

#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

This function changes the stream's channel pan. The default pan value is 64 (center).

The channel number chNo is the channel that is in the current stream. The channel number chNo value is not directly related to the channel number that is 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