Initializes the tone detector state structure.
IppStatus ippsToneDetectInit_EC_16s(IppsToneDetectState_EC_16s* pState, ippECFrequency sampleFreq);
IppStitus ippsToneDetectInit_EC_32f(IppsToneDetectState_EC_32f* pState, ippECFrequency sampleFreq);
pState |
Pointer to the tone detector state structure. |
sampleFreq |
Sample frequency. |
The functions ippsToneDetectInit_EC are declared in the ippsc.h file. These functions initialize the tone detector state structure that is used by the functionippsToneDetect_EC in the external buffer. Its size must be calculated by the function ippsToneDetectGetStateSize_EC beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pState 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.