Subversion Repositories Games.Descent

Rev

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
 
8
#pragma once
9
 
10
#include "maths.h"
11
 
12
#ifdef __cplusplus
13
 
14
#ifdef dsx
15
namespace dcx {
16
struct sound_object;
17
constexpr std::integral_constant<int, 16> digi_max_channels{};
18
}
19
namespace dsx {
20
int digi_audio_init();
21
void digi_audio_reset();
22
void digi_audio_close();
23
void digi_audio_stop_all_channels();
24
int digi_audio_start_sound(short, fix, int, int, int, int, sound_object *);
25
int digi_audio_is_channel_playing(int );
26
void digi_audio_set_channel_volume(int, int );
27
void digi_audio_set_channel_pan(int, int );
28
void digi_audio_stop_sound(int );
29
void digi_audio_end_sound(int );
30
void digi_audio_set_digi_volume(int);
31
}
32
#endif
33
 
34
#endif