20 mmuxgetoutputsrc, 21 mmuxsetoutputsrc – IEI Integration HDC-502E_SDK_Linux User Manual

Page 28

Advertising
background image

HDC-502E SDK (Linux)

Page 28

Prototype: int MmuxIsCodecSrcConnect(MmuxHandle hdMmux, int codecNum)

Parameters: hdMmux: Get handle when MmuxInit executes, codecNum: request the

codec chip number

Return Value: 0: no signal, 1: signal input

2.3.20 MmuxGetOutputSrc

Description: get the current source set of the video output

Prototype: enum MMUX_OUTPUT_SRC MmuxGetOutputSrc(MmuxHandle hdMmux, int

outputNum)

enum MMUX_OUTPUT_SRC {

MMUX_OUT_NONE = -1,

MMUX_OUT_IN_0

=

0,

MMUX_OUT_IN_1,

MMUX_OUT_IN_2,

MMUX_OUT_IN_3,

MMUX_OUT_CODEC_0,

MMUX_OUT_CODEC_1,

MMUX_OUT_CODEC_2,

MMUX_OUT_CODEC_3,

MMUX_OUT_SRC_MAX,

};

Parameters: Get handle when MmuxInit executes, outputNum: requestthe output Fu

number (currently always 0)

Return Value: enum MMUX_OUTPUT_SRC: the sources of current set

2.3.21 MmuxSetOutputSrc

Description: set the source of the video output

Advertising