diff --git a/apps/openmw/mwsound/openal_output.cpp b/apps/openmw/mwsound/openal_output.cpp index ac639416f3..bf972512bc 100644 --- a/apps/openmw/mwsound/openal_output.cpp +++ b/apps/openmw/mwsound/openal_output.cpp @@ -92,7 +92,7 @@ public: OpenAL_SoundStream(std::auto_ptr decoder); virtual ~OpenAL_SoundStream(); - virtual void Play(); + void Play(); virtual void Stop(); virtual bool isPlaying(); }; @@ -106,7 +106,6 @@ public: OpenAL_Sound(ALuint src, ALuint buf); virtual ~OpenAL_Sound(); - virtual void Play(); virtual void Stop(); virtual bool isPlaying(); }; @@ -242,10 +241,6 @@ OpenAL_Sound::~OpenAL_Sound() alGetError(); } -void OpenAL_Sound::Play() -{ -} - void OpenAL_Sound::Stop() { alSourceStop(Source); diff --git a/apps/openmw/mwsound/sound.hpp b/apps/openmw/mwsound/sound.hpp index 5ffb48820c..5fb996e28a 100644 --- a/apps/openmw/mwsound/sound.hpp +++ b/apps/openmw/mwsound/sound.hpp @@ -7,7 +7,6 @@ namespace MWSound { class Sound { - virtual void Play() = 0; virtual void Stop() = 0; virtual bool isPlaying() = 0; diff --git a/apps/openmw/mwsound/soundmanager.cpp b/apps/openmw/mwsound/soundmanager.cpp index 796c490d9a..b1caf7ff37 100644 --- a/apps/openmw/mwsound/soundmanager.cpp +++ b/apps/openmw/mwsound/soundmanager.cpp @@ -186,10 +186,6 @@ namespace MWSound } } - void SoundManager::updatePositions(MWWorld::Ptr ptr) - { - } - void SoundManager::stopMusic() { if(mMusic) @@ -365,7 +361,7 @@ namespace MWSound void SoundManager::updateObject(MWWorld::Ptr ptr) { - updatePositions(ptr); + // FIXME: Update tracked sounds that are using this ptr } void SoundManager::updateRegionSound(float duration) diff --git a/apps/openmw/mwsound/soundmanager.hpp b/apps/openmw/mwsound/soundmanager.hpp index 7b103dbad7..df7e696dac 100644 --- a/apps/openmw/mwsound/soundmanager.hpp +++ b/apps/openmw/mwsound/soundmanager.hpp @@ -67,7 +67,6 @@ namespace MWSound void remove(MWWorld::Ptr ptr, const std::string &id = ""); bool isPlaying(MWWorld::Ptr ptr, const std::string &id) const; void removeCell(const MWWorld::Ptr::CellStore *cell); - void updatePositions(MWWorld::Ptr ptr); void updateRegionSound(float duration); public: