From 1c906a1f08f9d1f316c2efd65a347c00e07bc469 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 28 Jan 2010 09:38:21 +0000 Subject: Hide VagStream implementation, only expose it via a factory method svn-id: r47634 --- engines/tinsel/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tinsel') diff --git a/engines/tinsel/sound.cpp b/engines/tinsel/sound.cpp index ccb978f45e..379f1f2bb0 100644 --- a/engines/tinsel/sound.cpp +++ b/engines/tinsel/sound.cpp @@ -109,7 +109,7 @@ bool SoundManager::playSample(int id, Audio::Mixer::SoundType type, Audio::Sound if (TinselV1PSX) { // Read the stream and create a VAG Audio stream - Audio::AudioStream *vagStream = new Audio::VagStream(_sampleStream.readStream(sampleLen), 44100); + Audio::AudioStream *vagStream = Audio::makeVagStream(_sampleStream.readStream(sampleLen), 44100); // FIXME: Should set this in a different place ;) _vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, _vm->_config->_soundVolume); -- cgit v1.2.3