]> git.tdb.fi Git - libs/al.git/blobdiff - source/device.cpp
Add Streamer class
[libs/al.git] / source / device.cpp
index 1500100cf66a8ef0945e262df4e3dcecb4a70dc8..dcc78f1aa949b37dbe173adf96a3cb140e1f41ff 100644 (file)
@@ -27,5 +27,10 @@ Device::Device(const string &spec)
                throw Exception("Couldn't get OpenAL device");
 }
 
+Device::~Device()
+{
+       alcCloseDevice(dev);
+}
+
 } // namespace AL
 } // namespace Msp