beautypg.com

Sensoray 2224 Windows User Manual

Page 31

background image

Retrieve extra gain setting for audio stereo channel.

Parameters

extra_gain

0-9 (in steps of 1 dB). The default and recommended setting is 0.

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

int route,

HANDLE hdev

);

Sets audio route. For debug or setup only. Do not leave audio route on bypassed while recording.
If route is bypassed, then the audio from the input is directly connected to the output.

Parameters

route

0 – normal audio input, 1 – unused, 2 - bypassed input, 3 - unused

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

int *route,

HANDLE hdev

);

Gets the current audio routing. For debug or setup only.

Parameters

route

0 – normal audio input, 1 – unused, 2 - bypassed input, 3 - unused

hdev

31

This manual is related to the following products: