Previous Topic Index Next Topic
[API function]

FSOUND_Sample_Get

Returns a pointer to a managed sample based on the index passed.

FSOUND_SAMPLE * F_API FSOUND_Sample_Get(
int sampno
);

Parameters

sampno The index in the sample management pool of the requested sample.

Return Value

Pointer to a sample.

Remarks

Samples that are not created with FSOUND_UNMANAGED are stored in a table inside FMOD.
This way when FMOD can free all samples when FSOUND_Close is called and the user doesnt have
to worry about cleaning up memory.

See Also

FSOUND_Close

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.