94
VENTUS 2.0 Manual / Updated 2013/2/15
/ Operational Manual
VENTUS 2.0
Appendix. B
Ventus User API (VtsAPI Calling Sequence)
B.1 Calling Sequence
B.2 Pump control setting
VtsAPI_Initialize()
CountDevice()
OpenDevice()
Pump control setting
Modulator setting for DAB Modulator
File setting for DAB Modulator
RF
setting
DMA
tranfer
CloseDevice()
VtsAPI_Finalize()
PumpSetState
(VTS_PumpState_t t_PumpState) => Pump(DMA) Stop, Stop&Clear, Run
ex) Stop : PumpSetState(0/*VTS_PUMP_STATE_STOP*/)
ex) Stop & H/W buffer Clear : PumpSetState(1/*VTS_PUMP_STATE_STOP_CLR*/)
ex) Run : PumpSetState(2/*VTS_PUMP_STATE_RUN*/)
PumpSetMode
(
VTS_PumpMode_t t_PumpMode,
bool b_RemuxOnOff,
VTS_TS_Format_t t_OutTsFormat,
VTS_TS_Format_t t_SrcTsFormat) => Pump Setting
ex)For DAB : PumpSetMode (
6,/*VTS_PUMP_MODE_RF_OUT_RAW*/
0,/*false*/
0,/*VTS_TS_FORMAT_188*/
0/*VTS_TS_FORMAT_188*/
)