]> git.tdb.fi Git - libs/al.git/blobdiff - source/sound.cpp
Fix a typo in the copyright notice
[libs/al.git] / source / sound.cpp
index bc4db1efa5c86fefc5b0fe6f4b16c531e7483367..896d1d5c392798eb63595b0bb1b1f402a990a1fa 100644 (file)
@@ -2,7 +2,7 @@
 
 This file is part of libmspal
 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Diestributed under the LGPL
+Distributed under the LGPL
 */
 
 #include <msp/core/except.h>
@@ -28,7 +28,7 @@ Sound::~Sound()
 void Sound::open(const string &fn)
 {
        if(ov_fopen(const_cast<char *>(fn.c_str()), &ovfile)<0)
-               throw Exception("Could not open ogg vorbis file");
+               throw Exception("Could not open ogg vorbis file "+fn);
 
        vorbis_info *info=ov_info(&ovfile, -1);
        freq=info->rate;