diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-04 17:20:41 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-04 17:20:41 +0300 |
commit | efb40105d657da935d3854e6ea7a513c6210224b (patch) | |
tree | 0327d88d68c0a402f0f90307756bb8536c54dc8b /src/audio/player.h | |
parent | 25346114f96a29e8af6125e0cac3d5f8a2ffd551 (diff) |
Working on audio playback
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
Diffstat (limited to 'src/audio/player.h')
-rw-r--r-- | src/audio/player.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/player.h b/src/audio/player.h index 121659f2..2138c556 100644 --- a/src/audio/player.h +++ b/src/audio/player.h | |||
@@ -36,7 +36,8 @@ enum iPlayerUpdate { | |||
36 | void setFormatHint_Player (iPlayer *, const char *hint); | 36 | void setFormatHint_Player (iPlayer *, const char *hint); |
37 | void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); | 37 | void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); |
38 | 38 | ||
39 | iBool start_Player (iPlayer *); | 39 | iBool start_Player (iPlayer *); |
40 | void stop_Player (iPlayer *); | 40 | void setPaused_Player (iPlayer *, iBool isPaused); |
41 | void stop_Player (iPlayer *); | ||
41 | 42 | ||
42 | iBool isStarted_Player (const iPlayer *); | 43 | iBool isStarted_Player (const iPlayer *); |