1 #ifndef PLAYER_H 2 #define PLAYER_H 3 4 #include "out_buf.h" 5 #include "io.h" 6 #include "playlist.h" 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 void player_cleanup (); 13 void player (const char *file, const char *next_file, struct out_buf *out_buf); 14 void player_stop (); 15 void player_seek (const int n); 16 void player_jump_to (const int n); 17 void player_reset (); 18 void player_init (); 19 struct file_tags *player_get_curr_tags (); 20 void player_pause (); 21 void player_unpause (); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif 28