FIX: fix the widget speaker crash bug and usb bulk issue on cxx platform
Signed-off-by: DJI-Martin <DJI-Martin@dji.com>
This commit is contained in:
@ -37,7 +37,7 @@ extern "C" {
|
||||
#define DJI_VERSION_MINOR 1 /*!< DJI SDK minor version num, when add functionality in a backwards compatible manner changes. Range from 0 to 99. */
|
||||
#define DJI_VERSION_MODIFY 0 /*!< DJI SDK modify version num, when have backwards compatible bug fixes changes. Range from 0 to 99. */
|
||||
#define DJI_VERSION_BETA 0 /*!< DJI SDK version beta info, release version will be 0, when beta version release changes. Range from 0 to 255. */
|
||||
#define DJI_VERSION_BUILD 1503 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */
|
||||
#define DJI_VERSION_BUILD 1509 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
|
||||
|
@ -70,26 +70,27 @@ typedef enum {
|
||||
* @brief Switch widget speaker work mode.
|
||||
*/
|
||||
typedef enum {
|
||||
DJI_WIDGET_SPEAKER_WORK_MODE_TTS,
|
||||
DJI_WIDGET_SPEAKER_WORK_MODE_VOICE,
|
||||
DJI_WIDGET_SPEAKER_WORK_MODE_TTS = 0,
|
||||
DJI_WIDGET_SPEAKER_WORK_MODE_VOICE = 1,
|
||||
} E_DjiWidgetSpeakerWorkMode;
|
||||
|
||||
/**
|
||||
* @brief Switch widget speaker play mode.
|
||||
*/
|
||||
typedef enum {
|
||||
DJI_WIDGET_SPEAKER_PLAY_MODE_SINGLE_PLAY,
|
||||
DJI_WIDGET_SPEAKER_PLAY_MODE_LOOP_PLAYBACK,
|
||||
DJI_WIDGET_SPEAKER_PLAY_MODE_SINGLE_PLAY = 0,
|
||||
DJI_WIDGET_SPEAKER_PLAY_MODE_LOOP_PLAYBACK = 1,
|
||||
} E_DjiWidgetSpeakerPlayMode;
|
||||
|
||||
/**
|
||||
* @brief Switch widget speaker state.
|
||||
*/
|
||||
typedef enum {
|
||||
DJI_WIDGET_SPEAKER_STATE_IDEL,
|
||||
DJI_WIDGET_SPEAKER_STATE_TRANSMITTING,
|
||||
DJI_WIDGET_SPEAKER_STATE_PLAYING,
|
||||
DJI_WIDGET_SPEAKER_STATE_ERROR,
|
||||
DJI_WIDGET_SPEAKER_STATE_IDEL = 0,
|
||||
DJI_WIDGET_SPEAKER_STATE_TRANSMITTING = 1,
|
||||
DJI_WIDGET_SPEAKER_STATE_PLAYING = 2,
|
||||
DJI_WIDGET_SPEAKER_STATE_ERROR = 3,
|
||||
DJI_WIDGET_SPEAKER_STATE_IN_TTS_CONVERSION = 4,
|
||||
} E_DjiWidgetSpeakerState;
|
||||
|
||||
/**
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user