beautypg.com

Audio meter, Recording, Stream capture – Sensoray 2224 Windows User Manual

Page 12

background image

Audio Meter

S2226_SetAudioMtrHoldTime

S2226_GetAudioMtrHoldTime

S2226_SetAudioMtrHoldRelease

S2226_GetAudioMtrHoldRelease

S2226_SetAudioMtrTest

S2226_GetAudioMtrTest

S2226_SetAudioMtrChnSel

S2226_GetAudioMtrChnSel

S2226_GetAudioMtrLevel

S2226_GetAudioMtr_dB

S2226_GetAudioMtrHold

Recording

There are two functions to record the stream to file. One version with preview and one without. Please
note that Windows7 does not allow recording to the root drive or in the “Program Files” directory unless
the application is run as administrator.

The functions for recording are shown below. If using S2226_StartPreviewAndRecord or
S2226_StartPreviewAndRecordW, please read the section on preview. Before calling any of these
functions, a valid input must be connected to the 2226 and the configuration settings properly
configured. The 2226 does not support switching inputs while streaming. Do not unplug the input after
recording has started.

S2226_StartRecord, S2226_StartRecordW(unicode)

S2226_StartRecordAndPreview, S2226_StartRecordAndPreviewW

S2226_StopStream

Stream Capture

Stream capture is the process of capturing the encoded H.264 stream to memory. This is done by a
callback mechanism. The callback must not block and should return in a timely manner. If the callback
does no return fast enough, data will be lost and the stream could be corrupted. If a lot of processing
must be done on the data during the callback, it is recommended to use standard software Engineering

12

This manual is related to the following products: