SYNGetMemorySize

C Specification

#include <revolution.h>
#include <revolution/syn.h>
#define SYNGetMemorySize(num) (sizeof(SYNVOICE) * num)

Arguments

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

Return Values

Size (in bytes) of the memory buffer required by the synthesizer library.

Description

This macro returns the size of the memory buffer required by the synthesizer library in units of bytes. If the function SYNInitSpecifyMem is used to initialize the synthesizer, it is necessary to allocate a memory buffer of the size returned by this macro ahead of time.

See Also

SYNInitSpecifyMem

Revision History

2006/10/23 Initial version.


CONFIDENTIAL