SYNGetMemorySize

Syntax

#include <cafe.h>
#include <cafe/syn.h>

#define SYNGetMemorySize(num) (sizeof(SYNVOICE) * num)

Parameters

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 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.

Do Not Call From

None.

See Also

SYNInitSpecifyMem

Revision History

2013-05-08 Automated cleanup pass.
2006-10-23 Initial version.


CONFIDENTIAL