diff options
author | Paweł Kołodziejski | 2003-09-05 06:22:10 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-09-05 06:22:10 +0000 |
commit | 7bc63a0ce33336684c8b690fea639e79ebbf5d32 (patch) | |
tree | a0cc9100b579dfef69ba31ac7a1b43564a7efc50 /sound/mixer.h | |
parent | fccc9a2abb3adfd5620f0f6ce5033c8c58210ad9 (diff) | |
download | scummvm-rg350-7bc63a0ce33336684c8b690fea639e79ebbf5d32.tar.gz scummvm-rg350-7bc63a0ce33336684c8b690fea639e79ebbf5d32.tar.bz2 scummvm-rg350-7bc63a0ce33336684c8b690fea639e79ebbf5d32.zip |
fixes for uninitialized pan and volume
svn-id: r9998
Diffstat (limited to 'sound/mixer.h')
-rw-r--r-- | sound/mixer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mixer.h b/sound/mixer.h index d139a2fcef..fba5917fd0 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -85,11 +85,11 @@ public: int playRaw(PlayingSoundHandle *handle, void *sound, uint32 size, uint rate, byte flags, byte volume, int8 pan, int id = -1, uint32 loopStart = 0, uint32 loopEnd = 0); #ifdef USE_MAD - int playMP3(PlayingSoundHandle *handle, File *file, uint32 size); - int playMP3CDTrack(PlayingSoundHandle *handle, File *file, mad_timer_t duration); + int playMP3(PlayingSoundHandle *handle, File *file, uint32 size, byte volume, int8 pan); + int playMP3CDTrack(PlayingSoundHandle *handle, File *file, mad_timer_t duration, byte volume, int8 pan); #endif #ifdef USE_VORBIS - int playVorbis(PlayingSoundHandle *handle, OggVorbis_File *ov_file, int duration, bool is_cd_track); + int playVorbis(PlayingSoundHandle *handle, OggVorbis_File *ov_file, int duration, bool is_cd_track, byte volume, int8 pan); #endif /** Premix procedure, useful when using fmopl adlib */ |