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>
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;