Download ASX User Manual
Transcript
7.32 Block functions. 155 Returns Returns 0 if there is no error, otherwise one of asxERROR is returned. 7.31.2.8 ASX32 API ASX_ERROR ASX SilenceDetector SetEventEnable ( ASX_HANDLE hSilenceDetector, const unsigned int nEnable ) Turns the event reporting function of the silence detector on and off. Parameters hSilenceDe- A handle to an ASX silence detector control. tector nEnable A value of 1 enables the silence detector event reporting and a value of 0 disables it. Returns Returns 0 if there is no error, otherwise one of asxERROR is returned. 7.31.2.9 ASX32 API ASX_ERROR ASX SilenceDetector SetThreshold ( ASX_HANDLE hSilenceDetector, const float fThreshold ) Sets the silence detector threshold (units of dB) Returns Returns 0 if there is no error, otherwise one of asxERROR is returned. 7.32 Block functions. These functions provide an abstract mechanism to manipulate a well defined set of property primitives that can be combined into a block. Functions • ASX_Block_GetInfo Gets the name of the block and the number of parameters it has. • ASX_Block_Parameter_GetName Gets the name of parameter number uParameterIndex. • ASX_Block_Parameter_GetUnits Gets the units of parameter number uParameterIndex. • ASX_Block_Parameter_GetType Generated on Thu Dec 17 2015 10:17:26 for ASX by Doxygen