diff options
author | quou <quou@disroot.org> | 2024-06-04 21:42:04 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-06-04 21:42:04 +1000 |
commit | 557e07876de0086b70e301b104547bf35ec57959 (patch) | |
tree | b2c9923ef989ea38d185d4598764a060c18f298e /library.h | |
parent | 6589107006fd4fc06bdb7d02cb4b1eef45395458 (diff) |
Loading album art, seeking, pause/play.
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -23,8 +23,11 @@ typedef struct { seek, samples, channels, - play + play, + has_art ; + unsigned long long cs, ms; + unsigned cover[album_cover_w * album_cover_h]; } Player; void build_library( @@ -35,6 +38,8 @@ void build_library( int get_song_meta(const char* path, Song* s); void play_song(Player* p, Song* song); +void play_seek(Player* p, float v); void init_player(Player* p); +void deinit_player(Player* p); #endif |