summaryrefslogtreecommitdiff
path: root/src/audio/player.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-21 13:46:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-21 13:46:57 +0300
commitbbbbc8e18879a5495be1cff78ca78be7a44ac25b (patch)
treecf24ab2e663e6a70250346328825f9c4a4eff45a /src/audio/player.h
parent8b12e6f56fddc4a10e74591ebf6d9af38a9f0bb5 (diff)
iOS: Background audio; MP3/AAC playback
Diffstat (limited to 'src/audio/player.h')
-rw-r--r--src/audio/player.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/audio/player.h b/src/audio/player.h
index 82d95fd2..8753d811 100644
--- a/src/audio/player.h
+++ b/src/audio/player.h
@@ -49,21 +49,21 @@ enum iPlayerTag {
49void updateSourceData_Player (iPlayer *, const iString *mimeType, const iBlock *data, 49void updateSourceData_Player (iPlayer *, const iString *mimeType, const iBlock *data,
50 enum iPlayerUpdate update); 50 enum iPlayerUpdate update);
51 51
52iBool start_Player (iPlayer *); 52iBool start_Player (iPlayer *);
53void stop_Player (iPlayer *); 53void stop_Player (iPlayer *);
54void setPaused_Player (iPlayer *, iBool isPaused); 54void setPaused_Player (iPlayer *, iBool isPaused);
55void setVolume_Player (iPlayer *, float volume); 55void setVolume_Player (iPlayer *, float volume);
56void setFlags_Player (iPlayer *, int flags, iBool set); 56void setFlags_Player (iPlayer *, int flags, iBool set);
57void setNotIdle_Player (iPlayer *); 57void setNotIdle_Player (iPlayer *);
58 58
59int flags_Player (const iPlayer *); 59int flags_Player (const iPlayer *);
60const iString *tag_Player (const iPlayer *, enum iPlayerTag tag); 60const iString *tag_Player (const iPlayer *, enum iPlayerTag tag);
61iBool isStarted_Player (const iPlayer *); 61iBool isStarted_Player (const iPlayer *);
62iBool isPaused_Player (const iPlayer *); 62iBool isPaused_Player (const iPlayer *);
63float volume_Player (const iPlayer *); 63float volume_Player (const iPlayer *);
64float time_Player (const iPlayer *); 64float time_Player (const iPlayer *);
65float duration_Player (const iPlayer *); 65float duration_Player (const iPlayer *);
66float streamProgress_Player (const iPlayer *); /* normalized 0...1 */ 66float streamProgress_Player (const iPlayer *); /* normalized 0...1 */
67 67
68uint32_t idleTimeMs_Player (const iPlayer *); 68uint32_t idleTimeMs_Player (const iPlayer *);
69iString * metadataLabel_Player (const iPlayer *); 69iString * metadataLabel_Player (const iPlayer *);