AudioInFilename.hxx

Go to the documentation of this file.
00001 #ifndef AudioInFilename_hxx
00002 #define AudioInFilename_hxx
00003 
00004 #include "Filename.hxx"
00005 
00006 namespace CLAM
00007 {
00008 
00009 class AudioInFilename : public InFilename
00010 {
00011 public:
00012         AudioInFilename(const std::string & s="") : InFilename(s) {}
00013         AudioInFilename(const char * s) : InFilename(s) {}
00014         virtual const char * TypeFamily() const { return "Audio"; }
00015         virtual const Filter * Filters() const
00016         {
00017                 static const Filter filters[] = {
00018                         {"Microsoft RIFF/WAVE files",        "*.wav"},
00019                         {"Vorbis I files (Ogg/Vorbis)",      "*.ogg"},
00020                         {"Mpeg Audio Layer 1",               "*.mp1 *.mpg"},
00021                         {"Mpeg Audio Layer 2",               "*.mp2 *.mpg"},
00022                         {"Mpeg Audio Layer 3",               "*.mp3 *.mpg"},
00023                         {"Apple/SGI AIFF files",             "*.aiff *.aif"},
00024                         {"Sun/Next AU files",                "*.snd *.au"},
00025                         {"RAW PCM files",                    "*.raw"},
00026                         {"Ensoniq's PARIS Files",            "*.paf"},
00027                         {"Amiga IFF files",                  "*.svx"},
00028                         {"Sphere NIST files",                "*.nist"},
00029                         {"Creative's VOC files",             "*.voc"},
00030                         {"Berkeley/IRCAM/CARL files",        "*.ircam"},
00031                         {"Sonic Foundry's 64 RIFF/WAV files","*.w64"},
00032                         {"Matlab/GNU Octave files",          "*.mat4 *.mat5 *.mat"},
00033                         {0,0}
00034                 };
00035                 return filters;
00036         }
00037 };
00038 
00039 CLAM_TYPEINFOGROUP(BasicCTypeInfo, AudioInFilename);
00040 
00041 }
00042 
00043 
00044 
00045 #endif//AudioInFilename_hxx
00046 
Generated by  doxygen 1.6.3