X-Git-Url: http://git.tdb.fi/?p=libs%2Fal.git;a=blobdiff_plain;f=source%2Fsound.cpp;h=0c094d0572d5a5042d53933956656048cfad5455;hp=bc4db1efa5c86fefc5b0fe6f4b16c531e7483367;hb=72a8ee9c7d0ff973b20a27184b0c493d3fd5ae59;hpb=35ea5cc8d1eb8c806885d27441548f630e7b1266 diff --git a/source/sound.cpp b/source/sound.cpp index bc4db1e..0c094d0 100644 --- a/source/sound.cpp +++ b/source/sound.cpp @@ -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;