Miles Sound System SDK 7.2a

RAD_IOPMemoryAmount

The function RAD_IOPMemoryAmount returns the amount of IOP memory in bytes that RAD_IOP will need.

U32 RAD_IOPMemoryAmount(
  SOUND_CORE_FLAGS sound_flags
);

In Parameters

sound_flags
Specifies the sound flags that you are going to use in the RAD_IOPStartUp call.

Returns

Returns the amount of IOP memory that you need to allocate.

Discussion

This function tells you how much IOP memory RAD_IOP needs for your flags. You then usually call sceSifAllocIopHeap to allocate this memory and then pass that address to RAD_IOPStartUp. You shouldn't free this memory until you have called RAD_IOPShutDown.


Group: The RAD_IOP API for the Sony PS2
Related Sections: Miles DTS Provider for the Sony PS2
Related Functions: RAD_IOPMemoryAmount, RAD_IOPShutDown, RAD_IOPStartUp
Related Basic Types: SOUND_CORE_FLAGS, U32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.