##### [API function]

## FSOUND_DSP_GetBufferLength

Returns the buffer lenth passed by the DSP system to DSP unit callbacks, so you can allocate memory etc
using this data.

int F_API FSOUND_DSP_GetBufferLength(
);

### Return Value

The size of the DSP unit 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_GetBufferLengthTotal

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.