]> git.tdb.fi Git - libs/al.git/blobdiff - source/sound.cpp
Add more methods to Source
[libs/al.git] / source / sound.cpp
index bc4db1efa5c86fefc5b0fe6f4b16c531e7483367..0c094d0572d5a5042d53933956656048cfad5455 100644 (file)
@@ -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;