#include <wenc.h> #define WENCGetEncodeBufferSize( nSampleNum ) (((nSampleNum) + 1) / 2)
| 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.
None.
2006/09/07 Deleted the 4 bytes for when setting WENC_FLAG_LAST.
2006/08/10 Initial version.
CONFIDENTIAL