beautypg.com

Sensoray 2224 Windows User Manual

Page 26

background image

gainL

AGC gain for left channel(decibels times 2). 0-118 (0-59dB) 0dB recommended for line

input.

gainR

AGC gain for right channel(decibels times 2). 0-118 (0-59dB) 0dB recommended for line

input.

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_GetAudioAgc(

int *bOnL,

int *bOnR,

int *gainL,

int *gainR,

HANDLE hdev

);

Retrieves gain settings for audio automatic gain control.

Parameters

bOnL

toggles AGC gain for left channel. 0(off) recommended for line input.

bOnR

toggles AGC gain for right channel. 0(off) recommended for line input.

gainL

AGC gain for left channel(decibels times 2). 0-118 (0-59dB) 0dB recommended for line

input.

gainR

AGC gain for right channel(decibels times 2). 0-118 (0-59dB) 0dB recommended for line

input.

hdev

26

This manual is related to the following products: