#include <math.h>
#include <stdexcept>
+#include <iostream>
#include "ambient_sound.hpp"
#include "object_factory.hpp"
try {
std::string filename = "sounds/";
filename += sample;
- filename += ".ogg";
+ filename += ".wav";
sound_source = sound_manager->create_sound_source(filename);
if(!sound_source)
throw std::runtime_error("file not found");