ex

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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers baidu_media_play_type.h Source File

baidu_media_play_type.h

00001 // Copyright 2017 Baidu Inc. All Rights Reserved.
00002 // Author: Chen Xihao (chenxihao@baidu.com)
00003 //
00004 // Description: define export type of media module
00005 
00006 #ifndef BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H
00007 #define BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H
00008 
00009 namespace duer {
00010 
00011 enum MediaPlayerStatus {
00012     MEDIA_PLAYER_IDLE,
00013     MEDIA_PLAYER_PLAYING,
00014     MEDIA_PLAYER_PAUSE
00015 };
00016 
00017 typedef void (*media_player_stop_callback)();
00018 
00019 } // namespace duer
00020 
00021 #endif // BAIDU_TINYDU_IOT_OS_SRC_MEDIA_PLAYER_BAIDU_MEDIA_PLAY_TYPE_H