summaryrefslogtreecommitdiff
path: root/src/audio/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/player.h')
-rw-r--r--src/audio/player.h18
1 files changed, 16 insertions, 2 deletions
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. */
22 22
23#pragma once 23#pragma once
24 24
25#include <the_Foundation/defs.h> 25#include <the_Foundation/block.h>
26 26
27iDeclareType(Player) 27iDeclareType(Player)
28iDeclareTypeConstruction(Player) 28iDeclareTypeConstruction(Player)
29
30enum iPlayerUpdate {
31 replace_PlayerUpdate,
32 append_PlayerUpdate,
33 complete_PlayerUpdate,
34};
35
36void setFormatHint_Player (iPlayer *, const char *hint);
37void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update);
38
39iBool start_Player (iPlayer *);
40void stop_Player (iPlayer *);
41
42iBool isStarted_Player (const iPlayer *);