Calculates size of the tone detector state structure.
IppStatus ippsToneDetectGetStateSize_EC_16s(ippECFrequency sampleFreq, int* pSize);
IppStatus ippsToneDetectGetStateSize_EC_32f(ippECFrequency sampleFreq, int* pSize);
sampleFreq |
Sample frequency. |
pSize |
Pointer to the computed buffer size value. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.