diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-01 07:15:34 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-01 07:15:50 +0300 |
commit | 25346114f96a29e8af6125e0cac3d5f8a2ffd551 (patch) | |
tree | 43b77e3f3f3be3253362b3dfdf1864924b1fdba1 /src/audio/player.h | |
parent | d719e31a5d38c410e8e2d0795afe91fc59cf352e (diff) |
Player: Setting up the audio output
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 *); | ||