ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Revision:
47:9e361da97763
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DuerOS-Light-SDK-v1.1.0/duer-os-light/src/media-player/baidu_media_play_type.h	Tue Jul 18 16:54:45 2017 +0800
@@ -0,0 +1,21 @@
+// Copyright 2017 Baidu Inc. All Rights Reserved.
+// Author: Chen Xihao (chenxihao@baidu.com)
+//
+// Description: define export type of media module
+
+#ifndef BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H
+#define BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H
+
+namespace duer {
+
+enum MediaPlayerStatus {
+    MEDIA_PLAYER_IDLE,
+    MEDIA_PLAYER_PLAYING,
+    MEDIA_PLAYER_PAUSE
+};
+
+typedef void (*media_player_stop_callback)();
+
+} // namespace duer
+
+#endif // BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H