+mp3

Dependencies:   mbed

Fork of VS1053 by SGMP Coperations

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers player.h Source File

player.h

00001 #ifndef PLAYER_H
00002 #define PLAYER_H
00003 #include "vs10xx.h"
00004 
00005 /** Playing states definations. */
00006 volatile typedef enum {
00007   PS_STOP,         // Player stop                        
00008   PS_PLAY,         // Start to player                                                                    
00009 } playerStatetype;
00010 
00011 
00012 class Player
00013 {
00014 public:
00015   void begin(void);
00016   void playFile(char *file);
00017   void selectfile(char n);
00018   void stop(void);
00019   void run(void);
00020   //void read(void);
00021   void SGMP_First_Page(void);
00022   void set_name(void);
00023   void set_mode(void);
00024 private:
00025     
00026 };
00027 
00028 #endif
00029