From 25346114f96a29e8af6125e0cac3d5f8a2ffd551 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 1 Oct 2020 07:15:34 +0300 Subject: Player: Setting up the audio output --- src/audio/player.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src/audio/player.h') diff --git a/src/audio/player.h b/src/audio/player.h index 2786f619..121659f2 100644 --- a/src/audio/player.h +++ b/src/audio/player.h @@ -22,7 +22,21 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #pragma once -#include +#include iDeclareType(Player) -iDeclareTypeConstruction(Player) +iDeclareTypeConstruction(Player) + +enum iPlayerUpdate { + replace_PlayerUpdate, + append_PlayerUpdate, + complete_PlayerUpdate, +}; + +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 isStarted_Player (const iPlayer *); -- cgit v1.2.3