MIXGetMemorySize

C Specification

#include <revolution.h>
#include <revolution/mix.h>
#define MIXGetMemorySize(num) ((sizeof(MIXChannel) + sizeof(MIXRmtChannel)) * num)

Arguments

num Number of voices specified when the AX library is initialized.

Return Values

Size (in bytes) of the memory area required by the mixer library.

Description

This macro returns the size of the memory area required by the mixer library in units of bytes. If using the function MIXInitSpecifyMem for mixer initialization, a memory area of size returned by this macro needs to be allocated beforehand.

See Also

MIXInitSpecifyMem

Revision History

2006/10/23 Initial version.


CONFIDENTIAL