beautypg.com

Sensoray 2224 Windows User Manual

Page 43

background image

Starts decoding a stream from memory. See demo application for an example usage of this
function. Use S2226_SendData to send data to the 2226 to decode.

Parameters

decode_type

decode type. See mid2226types.h.

hdev

handle to device (obtained from S2226_OpenBoard).

Returns

0 on success, negative value if error (see mid2226types.h for error codes list).

MID2226_API int S2226_SendData(

unsigned char *data,

int len,

HANDLE hdev

);

Sends data to the board for decoding.

Parameters

data

pointer to data

len

length of data (must be greater or equal to 8192)

hdev

handle to device (obtained from S2226_OpenBoard).

Returns

0 on success, negative value if error (see mid2226types.h for error codes list).

MID2226_API int S2226_PauseDecode(

HANDLE hdev

);

If a decode is in progress, this function will pause the output.

Parameters

hdev

43

This manual is related to the following products: