Reduced the sleep duration in sf::SoundStream to avoid stuttering with streams that send a little amount of samples in OnGetData

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1563 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-09-05 09:14:11 +00:00
parent 316dcbd1f6
commit e2cfdff23e

View File

@ -259,7 +259,7 @@ void SoundStream::Run()
// Leave some time for the other threads if the stream is still playing
if (SoundSource::GetStatus() != Stopped)
Sleep(0.1f);
Sleep(0.01f);
}
// Stop the playback