libvpb
4.2.61
|
Functions | |
int WINAPI | vpb_cid_decode (char *cid_number, const short *in, int n) |
Attempt to extract a caller's number from a buffer of samples. More... | |
int WINAPI | vpb_cid_decode2 (VPB_CID *cli_struct, const short *in, int n) |
Attempt to extract all caller id information from a buffer of samples. More... | |
void WINAPI | vpb_cid_debug_on (const char *debug_file_name) |
Enable debugging of the CID decoder. More... | |
void WINAPI vpb_cid_debug_on | ( | const char * | debug_file_name | ) |
Enable debugging of the CID decoder.
Causes lots of debug information to be written to the text file debug_file_name.
int WINAPI vpb_cid_decode | ( | char * | cid_number, |
const short * | in, | ||
int | n | ||
) |
Attempt to extract a caller's number from a buffer of samples.
cid_number | Pointer to string storage for the returned number. |
in | Buffer of audio samples to decode. |
n | The number of sample in the input buffer. |
VPB_OK
if a number was retrieved, -1
if none could be decoded. various | exceptions may be thrown in the case of other errors. |
int WINAPI vpb_cid_decode2 | ( | VPB_CID * | cli_struct, |
const short * | in, | ||
int | n | ||
) |
Attempt to extract all caller id information from a buffer of samples.
cli_struct | Pointer to storage for the returned data. |
in | Buffer of audio samples to decode. |
n | The number of sample in the input buffer. |
VPB_OK
if no error occurred while retrieving data, -1
if some error was detected.