Previous Topic Index Next Topic
[API function]

FSOUND_GetCurrentSample

Returns the current sample being played on the specified channel.

FSOUND_SAMPLE * F_API FSOUND_GetCurrentSample(
int channel
);

Parameters

channel Channel number/handle to get the currently playing sample for.

Return Value

On success, a pointer to a sample handle is returned for the specified channel.
On failure, NULL is returned.

Remarks

Note that current sample does not return to NULL when a sound has ended.


This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.