Mercurial > molko
diff src/libmlk-core/core/music.h @ 341:0c18acf4517e
js: add music bindings
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 16 Oct 2021 09:45:45 +0200 |
parents | 8f9937403749 |
children | 19782ea1cf4a |
line wrap: on
line diff
--- a/src/libmlk-core/core/music.h Sat Oct 16 09:13:40 2021 +0200 +++ b/src/libmlk-core/core/music.h Sat Oct 16 09:45:45 2021 +0200 @@ -23,6 +23,8 @@ #include "core.h" +struct vfs_file; + enum music_flags { MUSIC_NONE = 0, MUSIC_LOOP = (1 << 0) @@ -41,6 +43,9 @@ music_openmem(struct music *, const void *, size_t); int +music_openvfs(struct music *, struct vfs_file *); + +int music_ok(const struct music *); int