beautypg.com

Parameters, Returns – Sensoray 2246 User Manual

Page 37

background image

MID2246_API int SN_GetRecordVideoStream (BOOL * bRecVid, int board = 0)

Gets the video recording setting

Parameters:

bRecVid pointer to record video setting
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_SetRecordAudioStream (BOOL bRecAud, int board = 0)

Sets whether audio is recorded or not. NOTE: this function is different from Mute. SetMute
only turns off audio playback on the PC. SN_SetRecordVideoStream() and
SN_SetRecordAudioStream() are to allow configuration for either Video or Audio
Elementary stream while recording. If RecordVideoStream is turned off, no video stream is
sent to the recording module. If RecordAudioStream is turned off, no audio is sent to the
recording module.(different from mute)

Parameters:

bRecAud whether to record audio or not
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetRecordAudioStream (BOOL * bRecAud, int board = 0)

Gets the audio recording setting

Parameters:

bRecAud pointer to record video setting
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_SetAudioEncode (BOOL bEncAud, int board = 0)

Sets the audio encoder setting

Parameters:

bEncAud encode audio or not.
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetAudioEncode (BOOL * bEncAud, int board = 0)

Get the audio encode setting

Parameters:

bEncAud pointer to audio encode setting
board ID if multiple boards installed.

Returns:

0 on success

37