Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | /* |
2 | * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>. |
||
3 | * It is copyright by its individual contributors, as recorded in the |
||
4 | * project's Git history. See COPYING.txt at the top level for license |
||
5 | * terms and a link to the Git history. |
||
6 | */ |
||
7 | #pragma once |
||
8 | |||
9 | #include "maths.h" |
||
10 | |||
11 | #ifdef __cplusplus |
||
12 | |||
13 | #ifdef dsx |
||
14 | namespace dcx { |
||
15 | struct sound_object; |
||
16 | void digi_mixer_close(); |
||
17 | void digi_mixer_set_channel_volume(int, int); |
||
18 | void digi_mixer_set_channel_pan(int, int); |
||
19 | void digi_mixer_stop_sound(int); |
||
20 | void digi_mixer_end_sound(int); |
||
21 | void digi_mixer_set_digi_volume(int); |
||
22 | int digi_mixer_is_channel_playing(int); |
||
23 | void digi_mixer_reset(); |
||
24 | void digi_mixer_stop_all_channels(); |
||
25 | } |
||
26 | namespace dsx { |
||
27 | int digi_mixer_init(); |
||
28 | int digi_mixer_start_sound(short, fix, int, int, int, int, sound_object *); |
||
29 | } |
||
30 | #endif |
||
31 | |||
32 | #endif |