From 274014e78611e0c00d9373d566ed144417222284 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Wed, 6 Oct 2010 21:10:25 +0000 Subject: [PATCH] Fixed an error in the documentation of the Music::Play and Sound::Play functions git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1576 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Audio/Sound.hpp | 5 +++-- include/SFML/Audio/SoundStream.hpp | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/SFML/Audio/Sound.hpp b/include/SFML/Audio/Sound.hpp index 8ff69e344..304a9e0e4 100644 --- a/include/SFML/Audio/Sound.hpp +++ b/include/SFML/Audio/Sound.hpp @@ -80,8 +80,9 @@ public : //////////////////////////////////////////////////////////// /// \brief Start or resume playing the sound /// - /// This function starts the sound if it was stopped, resumes - /// it if it was paused, and does nothing it is it already playing. + /// This function starts the stream if it was stopped, resumes + /// it if it was paused, and restarts it from beginning if it + /// was it already playing. /// This function uses its own thread so that it doesn't block /// the rest of the program while the sound is played. /// diff --git a/include/SFML/Audio/SoundStream.hpp b/include/SFML/Audio/SoundStream.hpp index 38ddde278..7c33f7791 100644 --- a/include/SFML/Audio/SoundStream.hpp +++ b/include/SFML/Audio/SoundStream.hpp @@ -63,7 +63,8 @@ public : /// \brief Start or resume playing the audio stream /// /// This function starts the stream if it was stopped, resumes - /// it if it was paused, and does nothing it is it already playing. + /// it if it was paused, and restarts it from beginning if it + /// was it already playing. /// This function uses its own thread so that it doesn't block /// the rest of the program while the stream is played. ///