Sensoray 2224 Windows User Manual
Page 18

);
Selects current input. If bUpdateNow is set to FALSE, the input will not be updated until streaming
is started. If changing from an HD input to anything else(including a different HD input), some
settings may be reset to default. Please note that input changes are not allowed during streaming.
Always stop the stream before changing inputs.
Parameters
input
enumerated input MID2226_INPUT (see mid2226types.h). The allowed values are:
•
MID2226_INPUT_COMPOSITE_0 (Main composite input for SD)
•
MID2226_INPUT_SVIDEO_0 (Svideo input for SD)
•
MID2226_INPUT_COMPOSITE_1 (Alternate composite input via header)
•
MID2226_INPUT_SVIDEO_1 (Alternate svideo input)
•
MID2226_INPUT_SD_COLORBARS (Not a physical input. Test input for SD)
•
MID2226_INPUT_720P_COLORBARS(Not a physical input. Test input for 720p HD)
•
MID2226_INPUT_1080I_COLORBARS(Not a physical input. Test input for 1080i HD)
•
MID2226_INPUT_SDI_SD (SDI input with standard definition source)
•
MID2226_INPUT_SDI_720P (SDI input with 720p HD source. 59.94Hz, 60Hz only)
•
MID2226_INPUT_SDI_1080I (SDI input with 1080I HD source: 50Hz, 59.94Hz, 60Hz)
•
MID2226_INPUT_1080P30_COLORBARS (for snapshot and overlay only)
•
MID2226_INPUT_1080P24_COLORBARS
•
MID2226_INPUT_720P24_COLORBARS
•
MID2226_INPUT_SDI_1080P30 (for snapshot and overlay only)
•
MID2226_INPUT_SDI_1080P24
•
MID2226_INPUT_SDI_720P24
bUpdateNow
Set to TRUE to change input immediately (if stream stopped). Otherwise input changed at
next stream start. If bUpdateNow is set to TRUE and new input has a different video
system, call S2226_SetVidSys first or the new video system will not be updated until the
stream is started.
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
18