summaryrefslogtreecommitdiff
path: root/include/SFML/Audio/Sound.hpp
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@gmx.de>2010-04-07 22:00:13 +0200
committerChristoph Egger <Christoph.Egger@gmx.de>2010-04-07 22:00:13 +0200
commit46bf1cf82d855660c212ee3421dff3050ec8ffea (patch)
treef0fadfc004a86242ad096dee015ed7c20cc7f554 /include/SFML/Audio/Sound.hpp
parent25177f23f35afa0e6ebdd63d581003c298d3a7df (diff)
Imported Upstream version 1.6+repack1
Diffstat (limited to 'include/SFML/Audio/Sound.hpp')
-rwxr-xr-xinclude/SFML/Audio/Sound.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/SFML/Audio/Sound.hpp b/include/SFML/Audio/Sound.hpp
index 691d633..7cb8002 100755
--- a/include/SFML/Audio/Sound.hpp
+++ b/include/SFML/Audio/Sound.hpp
@@ -72,7 +72,7 @@ public :
/// \param Position : Position (0, 0, 0 by default)
///
////////////////////////////////////////////////////////////
- Sound(const SoundBuffer& Buffer, bool Loop = false, float Pitch = 1.f, float Volume = 100.f, const Vector3f& Position = Vector3f(0, 0, 0));
+ explicit Sound(const SoundBuffer& Buffer, bool Loop = false, float Pitch = 1.f, float Volume = 100.f, const Vector3f& Position = Vector3f(0, 0, 0));
////////////////////////////////////////////////////////////
/// Copy constructor
@@ -288,6 +288,15 @@ public :
////////////////////////////////////////////////////////////
Sound& operator =(const Sound& Other);
+ ////////////////////////////////////////////////////////////
+ /// Reset the internal buffer
+ ///
+ /// This function is for internal use only, you don't have
+ /// to use it.
+ ///
+ ////////////////////////////////////////////////////////////
+ void ResetBuffer();
+
private :
friend class SoundStream;