WENCGetEncodeBufferSize

C Specification

#include <wenc.h>

#define WENCGetEncodeBufferSize( nSampleNum )  (((nSampleNum) + 1) / 2 + 4)

Arguments

nSampleNum Represents the number of samples to be encoded.

Return Values

Returns the amount of memory (in bytes) required by the output destination for encoded data.

Description

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.

See Also

Revision History

08/10/2006 Initial version.


CONFIDENTIAL