2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
|
|
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
|
|
* terms and a link to the Git history.
|
|
|
|
*/
|
2007-09-18 13:37:39 +00:00
|
|
|
#ifndef __DIGI_MIXER__
|
|
|
|
#define __DIGI_MIXER__
|
|
|
|
|
2012-07-01 02:54:33 +00:00
|
|
|
#include "maths.h"
|
2007-09-18 13:37:39 +00:00
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
2015-07-25 23:10:45 +00:00
|
|
|
struct sound_object;
|
2007-09-18 13:37:39 +00:00
|
|
|
int digi_mixer_init();
|
|
|
|
void digi_mixer_close();
|
2014-12-14 05:22:59 +00:00
|
|
|
int digi_mixer_start_sound(short, fix, int, int, int, int, sound_object *);
|
2007-09-18 13:37:39 +00:00
|
|
|
void digi_mixer_set_channel_volume(int, int);
|
|
|
|
void digi_mixer_set_channel_pan(int, int);
|
|
|
|
void digi_mixer_stop_sound(int);
|
|
|
|
void digi_mixer_end_sound(int);
|
|
|
|
int digi_mixer_is_channel_playing(int);
|
|
|
|
void digi_mixer_reset();
|
|
|
|
void digi_mixer_stop_all_channels();
|
|
|
|
void digi_mixer_set_digi_volume(int);
|
|
|
|
void digi_mixer_debug();
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#endif
|
|
|
|
|
2007-09-18 13:37:39 +00:00
|
|
|
#endif
|