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.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_Close

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