diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-09 14:19:40 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-09 14:19:40 +0300 |
commit | 4bf163ecfac27c3dd86dff96df6f4647f9afe021 (patch) | |
tree | e360b25b9b420068e0650ed2caa57fed054a733c /src/audio/player.h | |
parent | bb7bc6fac4fec804846d11c7d77e1b553ba2be6a (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.h | 4 |
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 | ||
36 | void setFormatHint_Player (iPlayer *, const char *hint); | 36 | void updateSourceData_Player (iPlayer *, const iString *mimeType, const iBlock *data, |
37 | void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); | 37 | enum iPlayerUpdate update); |
38 | 38 | ||
39 | iBool start_Player (iPlayer *); | 39 | iBool start_Player (iPlayer *); |
40 | void setPaused_Player (iPlayer *, iBool isPaused); | 40 | void setPaused_Player (iPlayer *, iBool isPaused); |