Miles Sound System SDK 7.2a

RAD_IOPStartSound

The function RAD_IOPStartSound starts calling a previously registered sound callback.

S32 RAD_IOPStartSound(
  RAD_IOP_SOUND_DATA *sound_data
);

Out Parameters

sound_data
Specifies the sound callback to control.

Returns

Returns non-zero on success, or zero on failure.

Discussion

This function tells RAD_IOP to start calling your sound callback. Each time you are called, you are expected to fill the address with sound data as quickly as possible and then return.

The callback is made at interrupt time, so make sure your callback only uses interrupt safe code.


Group: The RAD_IOP API for the Sony PS2
Related Functions: RAD_IOPPauseSound, RAD_IOPRegisterSoundCallback
Related Basic Types: S32
Related Structures: RAD_IOP_SOUND_DATA

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