diff options
author | tron <tron@openttd.org> | 2005-03-12 09:38:03 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-03-12 09:38:03 +0000 |
commit | b40a2fcd0d7c80ce2871b508363f10ab8ab75802 (patch) | |
tree | 340956851983446ee2f0d5ae554a95a5a94cbbca /sound.h | |
parent | fa9506b191d8a6ddbc6f7d65eb27d450a6f95a94 (diff) | |
download | openttd-b40a2fcd0d7c80ce2871b508363f10ab8ab75802.tar.xz |
(svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch])
Diffstat (limited to 'sound.h')
-rw-r--r-- | sound.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 ! |