1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00

sound manager interface enhancement

This commit is contained in:
Marc Zinnschlag 2010-08-14 07:54:51 +02:00
parent 05b3140740
commit 1d91ac9d9e

View file

@ -43,8 +43,9 @@ namespace MWSound
float volume, float pitch, bool loop); float volume, float pitch, bool loop);
///< Play a sound from an object ///< Play a sound from an object
void stopSound3D (MWWorld::Ptr reference, const std::string& soundId); void stopSound3D (MWWorld::Ptr reference, const std::string& soundId = "");
///< Stop the given object from playing the given sound. ///< Stop the given object from playing the given sound, If no soundId is given,
/// all sounds for this reference will stop.
bool getSoundPlaying (MWWorld::Ptr reference, const std::string& soundId) const; bool getSoundPlaying (MWWorld::Ptr reference, const std::string& soundId) const;
///< Is the given sound currently playing on the given object? ///< Is the given sound currently playing on the given object?
@ -52,5 +53,3 @@ namespace MWSound
} }
#endif #endif