AXGetGetMemorySize

Syntax

#include <revolution/ax.h>

#define AXGetMemorySize(num) ((sizeof(AXPB) + sizeof(AXPBITDBUFFER) + sizeof(AXVPB)) * num)

Arguments

num Maximum voice count.

Return Values

The memory size (in bytes) required by the AX library.

Description

This macro returns the memory size (in bytes) required by the AX library. When using the AXInitSpecifyMem or AXInitExSpecifyMem function for AX library initialization, a memory space of the size returned by this macro needs to be reserved in advance.

See Also

AXInitSpecifyMem, AXInitExSpecifyMem

Revision History

2006/10/24 Initial version.


CONFIDENTIAL