Sensoray 812 Windows User Manual
Page 11

wchar_t *fileName,
int devid,
int strmidx
);
Same as S812_StartRecord, but uses widechar or Unicode filenames.
MID812_API int S812_StopStream(
int devid,
int strmidx
);
Stops streaming (recording, playing, previewing). Any registered callback is cleared.
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_StartAudioPreview(
int devid,
int strmidx
);
Starts 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_StopAudioPreview(
int devid,
11