projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix cr/lfs and remove trailing whitespaces...
[supertux.git]
/
src
/
audio
/
stream_sound_source.cpp
diff --git
a/src/audio/stream_sound_source.cpp
b/src/audio/stream_sound_source.cpp
index
3569ecd
..
958ef6f
100644
(file)
--- 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;
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();
}
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;
}
// return false if there aren't more buffers to fill
return bytesread >= STREAMFRAGMENTSIZE;
}
-