#include "stream_sound_source.hpp"
#include "sound_manager.hpp"
#include "sound_file.hpp"
+#include "msg.hpp"
StreamSoundSource::StreamSoundSource()
: file(0), fade_state(NoFading), looping(false)
return;
// we might have to restart the source if we had a buffer underrun
- std::cerr << "Restarting audio source because of buffer underrun.\n";
+ msg_info("Restarting audio source because of buffer underrun");
play();
}