Previous Topic Index Next Topic
[API function]

FSOUND_Sample_SetMode

Sets a sample's mode. This can only be FSOUND_LOOP_OFF,FSOUND_LOOP_NORMAL, FSOUND_LOOP_BIDI or FSOUND_2D.
You cannot change the description of the contents of a sample or its location. FSOUND_2D will be ignored on the Win32 platform if FSOUND_HW3D was used to create the sample.

signed char F_API FSOUND_Sample_SetMode(
FSOUND_SAMPLE *sptr,
unsigned int mode
);

Parameters

sptr Pointer to the sample that needs its loop points set.
mode The mode bits to set.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

Samples created with FSOUND_HW3D or FSOUND_HW2D do not support FSOUND_LOOP_BIDI on the Windows platform. This is a limitation of Direct X.
On PlayStation 2 FSOUND_HW2D and FSOUND_HW3D flags are allowed.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2

See Also

FSOUND_GetLoopMode , FSOUND_MODES , FSOUND_Sample_GetLoopPoints , FSOUND_Sample_GetMode , FSOUND_Sample_SetDefaults , FSOUND_Sample_SetLoopPoints

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Dec 20 16:31:09 2002 by SourceDoc v0.10, the automated source code documenter.