diff options
author | Max Horn | 2002-08-18 21:42:22 +0000 |
---|---|---|
committer | Max Horn | 2002-08-18 21:42:22 +0000 |
commit | 8786311655e18c8bd16dbbbc3360de031fc62966 (patch) | |
tree | c53623b8b5abc4c59567b9354cf1aaad735479d1 /sound/mixer.h | |
parent | 8e249acb89c5952f98441aac2f25404d49c1de03 (diff) | |
download | scummvm-rg350-8786311655e18c8bd16dbbbc3360de031fc62966.tar.gz scummvm-rg350-8786311655e18c8bd16dbbbc3360de031fc62966.tar.bz2 scummvm-rg350-8786311655e18c8bd16dbbbc3360de031fc62966.zip |
move _volume_table creation into constructor, and discard it in destructor
svn-id: r4764
Diffstat (limited to 'sound/mixer.h')
-rw-r--r-- | sound/mixer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/mixer.h b/sound/mixer.h index 3bf5aaf755..9ce371acd7 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -24,6 +24,7 @@ #define MIXER_H #include <stdio.h> + #ifdef COMPRESSED_SOUND_FILE #include <mad.h> #endif @@ -146,6 +147,9 @@ public: Channel *_channels[NUM_CHANNELS]; PlayingSoundHandle *_handles[NUM_CHANNELS]; + SoundMixer(); + ~SoundMixer(); + int insert_at(PlayingSoundHandle *handle, int index, Channel * chan); void append(void *data, uint32 len); void uninsert(Channel * chan); |