diff options
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -16,6 +16,17 @@ typedef struct { int cap, cnt; } Library; +typedef struct { + Song* song; + void* f; + int + seek, + samples, + channels, + play + ; +} Player; + void build_library( Arena* a, Library* lib, @@ -23,5 +34,7 @@ void build_library( ); int get_song_meta(const char* path, Song* s); +void play_song(Player* p, Song* song); +void init_player(Player* p); #endif |