.ogg playback

This commit is contained in:
veclavtalica
2024-07-08 09:46:12 +03:00
parent adcf638e2a
commit 8a8f62dc25
12 changed files with 363 additions and 9 deletions

View File

@@ -51,10 +51,10 @@ void *ccalloc(size_t num, size_t size);
/* sets buf_out to a pointer to a byte buffer which must be freed. */
/* returns the size of this buffer. */
int64_t file_to_bytes(char *path, unsigned char **buf_out);
int64_t file_to_bytes(const char *path, unsigned char **buf_out);
/* returns a pointer to a string which must be freed */
char *file_to_str(char *path);
char *file_to_str(const char *path);
/* returns true if str ends with suffix */