Sensoray 2224 Windows User Manual
Page 29

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_GetAudioOutputMono(
int *extra_gain,
HANDLE hdev
);
Retrieve extra gain setting for audio mono 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_SetAudioOutputHp(
int extra_gain,
HANDLE hdev
);
Sets extra gain on the audio high power(HP) 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).
29