#include <wenc.h> #define WENCGetEncodeBufferSize( nSampleNum ) (((nSampleNum) + 1) / 2 + 4)
nSampleNum |
Represents the number of samples to be encoded. |
Returns the amount of memory (in bytes) required by the output destination for encoded data.
WENCGetEncodeBufferSize returns the amount of memory (in bytes) required by the output destination for encoded data when encoding the number of samples of audio data given by nSampleNum for the controller speaker.
08/10/2006 Initial version.
CONFIDENTIAL