summaryrefslogtreecommitdiff
path: root/src/audio/player.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-09 14:19:40 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-09 14:19:40 +0300
commit4bf163ecfac27c3dd86dff96df6f4647f9afe021 (patch)
treee360b25b9b420068e0650ed2caa57fed054a733c /src/audio/player.h
parentbb7bc6fac4fec804846d11c7d77e1b553ba2be6a (diff)
Cleanup
Moved buffers out of player.c. Include MIME type with the data so the correct decoder can be chosen. Added stb_vorbis: https://github.com/nothings/stb
Diffstat (limited to 'src/audio/player.h')
-rw-r--r--src/audio/player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/player.h b/src/audio/player.h
index fe6717b0..720f2d78 100644
--- a/src/audio/player.h
+++ b/src/audio/player.h
@@ -33,8 +33,8 @@ enum iPlayerUpdate {
33 complete_PlayerUpdate, 33 complete_PlayerUpdate,
34}; 34};
35 35
36void setFormatHint_Player (iPlayer *, const char *hint); 36void updateSourceData_Player (iPlayer *, const iString *mimeType, const iBlock *data,
37void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); 37 enum iPlayerUpdate update);
38 38
39iBool start_Player (iPlayer *); 39iBool start_Player (iPlayer *);
40void setPaused_Player (iPlayer *, iBool isPaused); 40void setPaused_Player (iPlayer *, iBool isPaused);