X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsound.cpp;h=896d1d5c392798eb63595b0bb1b1f402a990a1fa;hb=8e69eba7dc53233c169152bdf654f032fcd0629f;hp=bc4db1efa5c86fefc5b0fe6f4b16c531e7483367;hpb=35ea5cc8d1eb8c806885d27441548f630e7b1266;p=libs%2Fal.git diff --git a/source/sound.cpp b/source/sound.cpp index bc4db1e..896d1d5 100644 --- a/source/sound.cpp +++ b/source/sound.cpp @@ -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 @@ -28,7 +28,7 @@ Sound::~Sound() void Sound::open(const string &fn) { if(ov_fopen(const_cast(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;