##### [API function]

## FMUSIC_GetRealChannel

Returns the real FSOUND channel playing based on the mod's FMUSIC channel.

int F_API FMUSIC_GetRealChannel(
FMUSIC_MODULE *mod,
int modchannel
);

### Parameters

mod | Pointer to the song.
modchannel | The mod channel index, to query the real channel from.

### Return Value

On success, the channel index for the respective mod channel is returned.
On failure, -1 is returned.

### Remarks

Note FMUSIC mod playback only allocates a real channel on a mod channel the first time an instrument is played.
NNA's will not register. This function only returns the primary real channel for the mod channel.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:26 2005 by SourceDoc v0.10, the automated source code documenter.