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;