[Image]  APEX AUDIO SYSTEM
Instruction Manual

intro | getting started | conv2aas | example | faq
api : index | general | sfx | mod | misc | mixer


:: AAS_GetOutputBufferAddress
PROTOTYPE const AAS_s8* AAS_GetOutputBufferAddress( int buffer );
FUNCTION Gets the address of the specified mixing buffer. Can be used to make oscilliscope displays of the current output.
PARAMETERS
Name Valid values Meaning
buffer 0 or 1 Specifies direct sound channel you want to get the mixing buffer for. 0 = Direct Sound A, 1 = Direct Sound B.
RETURNS
AAS_NULL : The buffer you requested does not exist or is currently not being used (during a period of silence, for example).
Any valid address : The address of the start of the mixing buffer currently being used for the specified buffer.
NOTES

Altering the values found in the mixing buffer may corrupt the sound output.


:: AAS_GetOutputBufferLength
PROTOTYPE int AAS_GetOutputBufferLength();
FUNCTION Gets the current length of the mixing buffer in bytes.
PARAMETERS None
RETURNS
Any integer : The current length of the mixing buffer in bytes.
NOTES

Altering the values found in the mixing buffer may corrupt the sound output.


:: AAS_GetActualMixRate
PROTOTYPE int AAS_GetActualMixRate();
FUNCTION Returns the current mixing rate in hertz.
PARAMETERS None
RETURNS
800-32000 : The current mixing rate in hertz.
NOTES

This function will always return the mixing rate you specified when you called AAS_SetConfig if you disabled dynamic mixing. With dynamic mixing enabled this value may be less than the rate you specified.