12 fmbsetfirstdev, 13 fmbsetnextdev, 14 drvbootall – IEI Integration HDC-3x-Series_SDK_Linux User Manual

Page 38

Advertising
background image

HDC-3x Series SDK (Linux)

Page 38

Prototype: enum FMBDeviceNumEnum FmbGetCurDeviceNum(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum, device number

2.4.12 FmbSetFirstDev

Description: set to switch the current operating device to the first available device code

Prototype: enum FMBDeviceNumEnum FmbSetFirstDev(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum: return the device number set, return

FMBEnmDevice_NONE if there is no available devices

2.4.13 FmbSetNextDev

Description: set to switch the current operating device to the next available device

number of the current device

Prototype: enum FMBDeviceNumEnum FmbSetNextDev(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum: return the device number set, return

FMBEnmDevice_NONE if there is no available devices

2.4.14 DrvBootAll

Description: load the firmware of all the codec chip and start the codec chip

Prototype: int DrvBootAll(void)

Parameters: None

Return Value: 0: function succeeded, other values: function failed

Advertising