Sensoray 2224 Windows User Manual
Page 35

Set Audio Meter's Hold/Release setting.
Parameters
holdrel
Can be one of:
1 = Force release of 'Held' output
0 = Allow holding of highest db value per the set hold time
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_GetAudioMtrHoldRelease(
int *holdrel,
HANDLE hdev
);
Read the current Hold/Release setting.
Parameters
holdrel
pointer to the value to receive the current Hold/Release setting.
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_SetAudioMtrHoldTime(
int val,
HANDLE hdev
);
Set Audio Meter Hold time. This is the time the current highest value is saved before being
replaced with a lower/next highest value.
35