Bink SDK 1.5v

# RADARAMALLOC

The function RADARAMALLOC points to a function that will allocate audio memory on Bink's behalf when using AX on the Nintendo GameCube.

    VOID_PTR RADLINK RADARAMALLOC(
      U32 num_bytes
    );

#### In Parameters

num_bytes
  Specifies the number of bytes of memory to allocate.

#### Returns

Returns the new pointer or 0.

#### Discussion

This function replaces the function that Bink calls to allocate audio memory when using AX on the Nintendo GameCube. It should return a pointer to at least num_bytes of audio memory. If the allocation fails, you can return 0 and Bink will fail the allocation.

Group: Bink API
Related Functions: BinkSoundUseAX, RADARAMFREE
Related Basic Types: U32, VOID_PTR
Related Structures: RADARAMCALLBACKS

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.