#include "openal_output.hpp" namespace MWSound { static void fail(const std::string &msg) { throw std::runtime_error("OpenAL exception: " + msg); } bool OpenAL_Output::Initialize(const std::string &devname) { if(Context) fail("Device already initialized"); Device = alcOpenDevice(devname.c_str()); if(!Device) { std::cout << "Failed to open \""<