#include <revolution.h>
#include <revolution/mix.h>
#define MIXGetMemorySize(num) ((sizeof(MIXChannel) + sizeof(MIXRmtChannel)) * num)
num |
Number of voices specified when the AX library is initialized. |
Size (in bytes) of the memory area required by the mixer library.
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.
2006/10/23 Initial version.
CONFIDENTIAL