mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-29 07:41:34 +00:00
sound manager interface enhancement
This commit is contained in:
parent
05b3140740
commit
1d91ac9d9e
1 changed files with 8 additions and 9 deletions
|
@ -43,8 +43,9 @@ namespace MWSound
|
|||
float volume, float pitch, bool loop);
|
||||
///< Play a sound from an object
|
||||
|
||||
void stopSound3D (MWWorld::Ptr reference, const std::string& soundId);
|
||||
///< Stop the given object from playing the given sound.
|
||||
void stopSound3D (MWWorld::Ptr reference, const std::string& soundId = "");
|
||||
///< 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;
|
||||
///< Is the given sound currently playing on the given object?
|
||||
|
@ -52,5 +53,3 @@ namespace MWSound
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue