3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include <msp/core/except.h>
18 dev = alcOpenDevice(0);
20 throw Exception("Couldn't get OpenAL device");
23 Device::Device(const string &spec)
25 dev = alcOpenDevice(spec.c_str());
27 throw Exception("Couldn't get OpenAL device");