X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Faudio%2Fstream_sound_source.cpp;h=958ef6f58f8c00960a78ead45faa419482ff1112;hb=ca86583fae991aa3280c5d70bf20dbf0504a93cb;hp=3569ecdeee90343f584f435a9f0d2a15219e4bb4;hpb=a6864e69a9eda8a902dfaa9712093206f17e508d;p=supertux.git diff --git a/src/audio/stream_sound_source.cpp b/src/audio/stream_sound_source.cpp index 3569ecdee..958ef6f58 100644 --- a/src/audio/stream_sound_source.cpp +++ b/src/audio/stream_sound_source.cpp @@ -78,8 +78,8 @@ StreamSoundSource::update() if(!playing()) { if(processed == 0 || !looping) return; - - // we might have to restart the source if we had a buffer underrun + + // we might have to restart the source if we had a buffer underrun log_info << "Restarting audio source because of buffer underrun" << std::endl; play(); } @@ -142,4 +142,3 @@ StreamSoundSource::fillBufferAndQueue(ALuint buffer) // return false if there aren't more buffers to fill return bytesread >= STREAMFRAGMENTSIZE; } -