#include <revolution.h> #include <revolution/syn.h> #define SYNGetMemorySize(num) (sizeof(SYNVOICE) * num)
| num | Number of voices specified when the AX library is initialized. |
|---|
Size (in bytes) of the memory buffer required by the synthesizer library.
This macro returns the byte size of the memory buffer required by the synthesizer library. If the SYNInitSpecifyMem function is used to initialize the synthesizer, it is necessary to allocate a memory buffer of the size returned by this macro ahead of time.
2006/10/23 Initial version.
CONFIDENTIAL