diff options
Diffstat (limited to 'src/audio/player.h')
-rw-r--r-- | src/audio/player.h | 18 |
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 | ||
27 | iDeclareType(Player) | 27 | iDeclareType(Player) |
28 | iDeclareTypeConstruction(Player) | 28 | iDeclareTypeConstruction(Player) |
29 | |||
30 | enum iPlayerUpdate { | ||
31 | replace_PlayerUpdate, | ||
32 | append_PlayerUpdate, | ||
33 | complete_PlayerUpdate, | ||
34 | }; | ||
35 | |||
36 | void setFormatHint_Player (iPlayer *, const char *hint); | ||
37 | void updateSourceData_Player (iPlayer *, const iBlock *data, enum iPlayerUpdate update); | ||
38 | |||
39 | iBool start_Player (iPlayer *); | ||
40 | void stop_Player (iPlayer *); | ||
41 | |||
42 | iBool isStarted_Player (const iPlayer *); | ||