diff options
| author | Ori Avtalion | 2011-02-26 20:01:02 +0200 |
|---|---|---|
| committer | Ori Avtalion | 2011-02-26 20:25:44 +0200 |
| commit | 765540a5fd58238c51ea50f96e5a5940dbbf88ef (patch) | |
| tree | 7739d9455d2d0128c3bca0f76573f65cbbe68c30 /engines/gob/sound/sound.cpp | |
| parent | 9bd5e8ff15dc22cf43281365e5835fc028a7caad (diff) | |
| download | scummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.tar.gz scummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.tar.bz2 scummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.zip | |
GOB: Avoid hiding overloaded virtual methods
Diffstat (limited to 'engines/gob/sound/sound.cpp')
| -rw-r--r-- | engines/gob/sound/sound.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index 5950388c28..1aa63eb940 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -648,7 +648,7 @@ void Sound::bgPlay(const char *file, SoundType type) { debugC(1, kDebugSound, "BackgroundAtmosphere: Playing \"%s\"", file); - _bgatmos->stop(); + _bgatmos->stopBA(); _bgatmos->queueClear(); SoundDesc *sndDesc = new SoundDesc; @@ -658,7 +658,7 @@ void Sound::bgPlay(const char *file, SoundType type) { } _bgatmos->queueSample(*sndDesc); - _bgatmos->play(); + _bgatmos->playBA(); } void Sound::bgPlay(const char *base, const char *ext, SoundType type, int count) { @@ -667,7 +667,7 @@ void Sound::bgPlay(const char *base, const char *ext, SoundType type, int count) debugC(1, kDebugSound, "BackgroundAtmosphere: Playing \"%s\" (%d)", base, count); - _bgatmos->stop(); + _bgatmos->stopBA(); _bgatmos->queueClear(); int length = strlen(base) + 7; @@ -684,7 +684,7 @@ void Sound::bgPlay(const char *base, const char *ext, SoundType type, int count) delete sndDesc; } - _bgatmos->play(); + _bgatmos->playBA(); } void Sound::bgStop() { @@ -693,7 +693,7 @@ void Sound::bgStop() { debugC(1, kDebugSound, "BackgroundAtmosphere: Stopping playback"); - _bgatmos->stop(); + _bgatmos->stopBA(); _bgatmos->queueClear(); } |
