From 4bf163ecfac27c3dd86dff96df6f4647f9afe021 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 9 Oct 2020 14:19:40 +0300 Subject: 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 --- src/audio/player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio/player.h') 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 { complete_PlayerUpdate, }; -void setFormatHint_Player (iPlayer *, const char *hint); -void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); +void updateSourceData_Player (iPlayer *, const iString *mimeType, const iBlock *data, + enum iPlayerUpdate update); iBool start_Player (iPlayer *); void setPaused_Player (iPlayer *, iBool isPaused); -- cgit v1.2.3