X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsounddecoder.h;fp=source%2Fsounddecoder.h;h=ee5b07d5f33abea2410dc95076f026c0586a1ffc;hb=35b092aaa718dcb12933effd33324bda5d3b5cce;hp=7a08644117317623d629b88559788036b5f16e8b;hpb=10cdb043b613d60c5de8f1cce0f7a5512b0d0074;p=libs%2Fal.git diff --git a/source/sounddecoder.h b/source/sounddecoder.h index 7a08644..ee5b07d 100644 --- a/source/sounddecoder.h +++ b/source/sounddecoder.h @@ -8,6 +8,14 @@ namespace Msp { namespace AL { +class unsupported_sound: public std::runtime_error +{ +public: + unsupported_sound(const std::string &); + virtual ~unsupported_sound() throw() { } +}; + + /** This class facilitates loading sound files. Currently only Ogg Vorbis is supported.