More information on the libvpb programmable tone detector is available here.
More...
|
enum | ToneStateTransition { VPB_TIMER = 0,
VPB_RISING = 1,
VPB_FALLING = 2,
VPB_DELAY = 3
} |
| Tone detector state transition types.
|
|
|
void WINAPI | vpb_settonedet (VPBPortHandle handle, const VPB_DETECT &d) |
| Set or change the parameters for a tone to detect on some port.
|
|
void WINAPI | vpb_settonedet (VPBPortHandle handle, const VPB_DETECT *d) |
|
void WINAPI | vpb_gettonedet (VPBPortHandle handle, int id, VPB_DETECT *d) |
|
void WINAPI | vpb_deltonedet (VPBPortHandle handle, const VPB_DETECT &d) |
| Revove a tone detector from some port.
|
|
void WINAPI | vpb_deltonedet (VPBPortHandle handle, const VPB_DETECT *d) |
|
int WINAPI | vpb_debug_tonedet (VPBPortHandle handle, int id, char file_name[], int sec) |
|
int WINAPI | vpb_enable_tone_event (VPBPortHandle handle, unsigned long mask) |
| Enable the TONE events specified by mask for handle. More...
|
|
int WINAPI | vpb_disable_tone_event (VPBPortHandle handle, unsigned long mask) |
| Disable the TONE events specified by mask for handle. More...
|
|
unsigned long WINAPI | vpb_get_tone_event_mask (VPBPortHandle handle) |
| Return the current TONE event mask for handle.
|
|
int WINAPI | vpb_set_tone_event_mask (VPBPortHandle handle, unsigned long mask) |
| Set the TONE event mask. The previous mask value will be overwritten.
|
|
|
#define | VPB_MD 10 |
| The maximum number of tone detectors per device.
|
|
#define | VPB_MS 10 |
| The maximum number of cadence states to match.
|
|
More information on the libvpb programmable tone detector is available here.
int WINAPI vpb_disable_tone_event |
( |
VPBPortHandle |
handle, |
|
|
unsigned long |
mask |
|
) |
| |
int WINAPI vpb_enable_tone_event |
( |
VPBPortHandle |
handle, |
|
|
unsigned long |
mask |
|
) |
| |