Previous Topic Index Next Topic
[API function]

FSOUND_DSP_GetBufferLengthTotal

This is the total size in samples (not bytes) of the FSOUND mix buffer. This is affected
by FSOUND_SetBufferSize.

int F_API FSOUND_DSP_GetBufferLengthTotal(
);

Return Value

The size of the FSOUND mixing buffer in SAMPLES (not bytes).

Remarks

Remember this is samples not bytes. To convert to bytes you
will have to multiply by 4 for mmx mixers, 8 for other mixers.
(a stereo 16bit sample = 4 bytes, and a stereo 32bit sample (ie fpu) = 8 bytes)
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_DSP_Create , FSOUND_DSP_GetBufferLength , FSOUND_SetBufferSize

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