#include <physfs.h>
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>
-#include "msg.hpp"
+#include "log.hpp"
class WavSoundFile : public SoundFile
{
if(PHYSFS_read(file, magic, sizeof(magic), 1) != 1)
throw std::runtime_error("Couldn't read file magic (not a wave file)");
if(strncmp(magic, "RIFF", 4) != 0) {
- msg_debug << "MAGIC: " << magic << std::endl;
+ log_debug << "MAGIC: " << magic << std::endl;
throw std::runtime_error("file is not a RIFF wav file");
}