#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. |
|---|
Byte size of the memory area required by the mixer library.
This macro returns the byte size of the memory area required by the mixer library. If the MIXInitSpecifyMem function is used to initialize the mixer, it is necessary to allocate a memory buffer of the size returned by this macro ahead of time.
2006/10/23 Initial version.
CONFIDENTIAL