From b40a2fcd0d7c80ce2871b508363f10ab8ab75802 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 12 Mar 2005 09:38:03 +0000 Subject: (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) --- sound.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sound.h') diff --git a/sound.h b/sound.h index 10859e63f..8b3522d65 100644 --- a/sound.h +++ b/sound.h @@ -1,8 +1,6 @@ #ifndef SOUND_H #define SOUND_H -typedef struct Mixer Mixer; - typedef struct MusicFileSettings { byte playlist; byte music_vol; @@ -17,10 +15,8 @@ VARDEF byte _music_wnd_cursong; VARDEF bool _song_is_active; VARDEF byte _cur_playlist[33]; VARDEF MusicFileSettings msf; -VARDEF Mixer *_mixer; -bool MxInitialize(uint rate, const char *filename); -void MxMixSamples(Mixer *mx, void *buffer, uint samples); +bool SoundInitialize(const char *filename); typedef enum SoundFx { SND_02_SPLAT, // 0 == 0x00 ! -- cgit v1.2.3-54-g00ecf