beautypg.com

Sensoray 812 Windows User Manual

Page 12

background image

int strmidx

);

Stops audio preview on host PC.

Parameters

devid

device id in the system (use 0 with a single board installed).

strmidx

channel index (0-7)

Returns

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

MID812_API int S812_SetLevel(

int param,

int value,

int devid,

int strmidx

);

Sets brightness, contrast, saturation and hue of the captured video.

Parameters

param

defines the parameter to set (MID812_LEVEL_CONTRAST,

MID812_LEVEL_BRIGHTNESS, MID812_LEVEL_SATURATION, MID812_LEVEL_HUE).

See see mid812types.h for definitions.

value

defines the value of selected parameter. Allowed values:

Brightness: MID812_BRIGHTNESS_MIN to MID812_BRIGHTNESS_MAX, default

MID812_BRIGHTNESS_DEF

Contrast: MID812_CONTRAST_MIN to MID812_CONTRAST_MAX, default

MID812_CONTRAST_DEF

Saturation: MID812_SATURATION_MIN to MID812_SATURATION_MAX, default

MID812_SATURATION_DEF

Hue: MID812_HUE_MIN to MID812_HUE_MAX, default MID812_HUE_DEF

devid

12