Functions | |
| HPI_ERR | HPI_ToneDetector_GetFrequency (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 nIndex, HW32 *dwFrequency) |
| Enumerate the detection frequencies of the tone detector control. | |
| HPI_ERR | HPI_ToneDetector_GetState (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 *State) |
| Get tone detector state. | |
| HPI_ERR | HPI_ToneDetector_SetEnable (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 Enable) |
| Enable (or disable) a ToneDetector control. | |
| HPI_ERR | HPI_ToneDetector_GetEnable (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 *Enable) |
| Get the Enable state of a ToneDetector control. | |
| HPI_ERR | HPI_ToneDetector_SetEventEnable (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 EventEnable) |
| Enable ToneDetector control event generation. | |
| HPI_ERR | HPI_ToneDetector_GetEventEnable (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW32 *EventEnable) |
| Get the event generation enable state of a ToneDetector control. | |
| HPI_ERR | HPI_ToneDetector_SetThreshold (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, int Threshold) |
| Set the Threshold of a ToneDetector control. | |
| HPI_ERR | HPI_ToneDetector_GetThreshold (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, int *Threshold) |
| Get the Threshold of a ToneDetector control. | |
Currently 25Hz and 35Hz tones can be detected independently on left and right channels. Tones that exceed the threshold set by HPI_ToneDetector_SetThreshold() are detected. The result of the detection is reflected in the controls state, and optionally by sending an async event with the new state.
|
||||||||||||||||||||
|
Enumerate the detection frequencies of the tone detector control.
|
|
||||||||||||||||
|
Get tone detector state.
|
|
||||||||||||||||
|
Enable (or disable) a ToneDetector control.
|
|
||||||||||||||||
|
Get the Enable state of a ToneDetector control.
|
|
||||||||||||||||
|
Enable ToneDetector control event generation.
|
|
||||||||||||||||
|
Get the event generation enable state of a ToneDetector control.
|
|
||||||||||||||||
|
Set the Threshold of a ToneDetector control.
|
|
||||||||||||||||
|
Get the Threshold of a ToneDetector control.
|
1.4.6-NO