diff options
| author | Max Horn | 2004-12-11 23:34:34 +0000 |
|---|---|---|
| committer | Max Horn | 2004-12-11 23:34:34 +0000 |
| commit | 3891c0fa39c35f84b6eea3ad5001125806160938 (patch) | |
| tree | bfaa7749c5d1eb2301f2a9f0c30372e6782f45ca /simon | |
| parent | 369e31a41c87a38da018a3350da53dd914a7065e (diff) | |
| download | scummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.tar.gz scummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.tar.bz2 scummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.zip | |
change loadVOCFromStream to take a reference instead of a pointer (to a stream)
svn-id: r16035
Diffstat (limited to 'simon')
| -rw-r--r-- | simon/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp index 56b14b8d00..d272dc14c6 100644 --- a/simon/sound.cpp +++ b/simon/sound.cpp @@ -181,7 +181,7 @@ void VocSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { _file->seek(_offsets[sound], SEEK_SET); int size, samples_per_sec; - byte *buffer = loadVOCFromStream(_file, size, samples_per_sec); + byte *buffer = loadVOCFromStream(*_file, size, samples_per_sec); _mixer->playRaw(handle, buffer, size, samples_per_sec, flags | SoundMixer::FLAG_AUTOFREE); } |
