Miles Sound System SDK 7.2a

RAD_IOP_OPENCALLBACK

The function RAD_IOP_OPENCALLBACK points to a function that will be called when the async open file completes.

void RAD_IOP_OPENCALLBACK(
  RAD_IOP_ASYNC_OPEN_DATA const *open_data
);

In Parameters

open_data
Specifies the pointer to the structure that you called RAD_IOPQueueAsyncOpenFile with.

Discussion

This function will be called once the open is completed (at interrupt level). Be careful that the code you write in this function is interrupt safe.

This file handle can be used with the BinkOpen function to play a Bink movie out of IOP RAM, or with the AIL_open_stream function to play a sound file out of IOP RAM.

This callback will be made for success or failure, so check the status field value to determine whether the open actually succeeded.


Group: The RAD_IOP API for the Sony PS2
Related Basic Types: void
Related Structures: RAD_IOP_ASYNC_OPEN_DATA

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