FSOUND_SPU2_Alloc

##### [API function]

## FSOUND_SPU2_Alloc

Allocates SPU2 Ram

void * F_API FSOUND_SPU2_Alloc(
int length
);

### Parameters

length | Length in bytes of SPU2 sound RAM to be allocated.

### Return Value

An IOP based handle for the SPU2 ram block.

### Remarks

This function is mainly used to reserve memory for purposes such as 3rd party libraries needing memory for their own spu2 use.
DO NOT use this as the offset into spu2 ram! Use FSOUND_SPU2_GetRawAddress to get the spu2 offset into sound ram from this handle.
-----------
The SPU2 has 2mb of ram available, unless reverb is activated on both cores, then it is less. You can disable reverb using
FSOUND_INIT_PS2_DISABLECORE0REVERB and FSOUND_INIT_PS2_DISABLECORE1REVERB with FSOUND_Init.
___________________
Supported on the following platforms : PlayStation 2

### See Also

FSOUND_Init , FSOUND_SPU2_Free , FSOUND_SPU2_GetRawAddress

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