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:
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);
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue