diff options
author | Torbjörn Andersson | 2004-11-26 13:28:00 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-11-26 13:28:00 +0000 |
commit | 66b8bcd7ebb5cc53afc2a2192a8ccc9ae24ef670 (patch) | |
tree | d726675cbb9fd7b4ede8b89d8ee86d1b26f37b9e /saga/sndres.cpp | |
parent | 41d1be2ea8e1869b056cf09f3b82d52363aa80c1 (diff) | |
download | scummvm-rg350-66b8bcd7ebb5cc53afc2a2192a8ccc9ae24ef670.tar.gz scummvm-rg350-66b8bcd7ebb5cc53afc2a2192a8ccc9ae24ef670.tar.bz2 scummvm-rg350-66b8bcd7ebb5cc53afc2a2192a8ccc9ae24ef670.zip |
Added looping background noise to the IHNM intro. I don't know if it's the
correct sound or the correct volume, but the small extension to allow the
engine to start looping sounds is worthwhile enough in itself, I think.
svn-id: r15895
Diffstat (limited to 'saga/sndres.cpp')
-rw-r--r-- | saga/sndres.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/sndres.cpp b/saga/sndres.cpp index 13426fa91e..5c7b583123 100644 --- a/saga/sndres.cpp +++ b/saga/sndres.cpp @@ -53,7 +53,7 @@ SndRes::SndRes(SagaEngine *vm) : _vm(vm) { _init = 1; } -int SndRes::playSound(uint32 sound_rn, int volume) { +int SndRes::playSound(uint32 sound_rn, int volume, bool loop) { SOUNDBUFFER snd_buffer; debug(0, "SndRes::playSound(%ld)", sound_rn); @@ -63,7 +63,7 @@ int SndRes::playSound(uint32 sound_rn, int volume) { return FAILURE; } - _vm->_sound->playSound(&snd_buffer, volume); + _vm->_sound->playSound(&snd_buffer, volume, loop); return SUCCESS; } |