-/* $Id$
-
-This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include <msp/core/except.h>
#include "device.h"
Device::Device()
{
- dev=alcOpenDevice(0);
+ dev = alcOpenDevice(0);
if(!dev)
throw Exception("Couldn't get OpenAL device");
}
Device::Device(const string &spec)
{
- dev=alcOpenDevice(spec.c_str());
+ dev = alcOpenDevice(spec.c_str());
if(!dev)
throw Exception("Couldn't get OpenAL device");
}