ToneDetectGetStateSize_EC

Calculates size of the tone detector state structure.

Syntax

IppStatus ippsToneDetectGetStateSize_EC_16s(ippECFrequency sampleFreq, int* pSize);

IppStatus ippsToneDetectGetStateSize_EC_32f(ippECFrequency sampleFreq, int* pSize);

Parameters

sampleFreq

Sample frequency.

pSize

Pointer to the computed buffer size value.

Description

The functions ippsToneDetectGetStateSize_EC are declared in the ippsc.h file. These functions calculate the size of memory buffers required for the function ippsToneDetect_EC to operate.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSize pointer is NULL.

ippStsRangeErr

Indicates an error when sampleFreq is not a valid element of the enumerated type IppFrequency.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.