From efb40105d657da935d3854e6ea7a513c6210224b Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 4 Oct 2020 17:20:41 +0300 Subject: 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. --- src/audio/player.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/audio/player.h') 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 { void setFormatHint_Player (iPlayer *, const char *hint); void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); -iBool start_Player (iPlayer *); -void stop_Player (iPlayer *); +iBool start_Player (iPlayer *); +void setPaused_Player (iPlayer *, iBool isPaused); +void stop_Player (iPlayer *); iBool isStarted_Player (const iPlayer *); -- cgit v1.2.3