AudioOutFilename.hxx
Go to the documentation of this file.00001 #ifndef AudioOutFilename_hxx
00002 #define AudioOutFilename_hxx
00003
00004 #include "Filename.hxx"
00005
00006 namespace CLAM
00007 {
00008
00009 class AudioOutFilename : public OutFilename
00010 {
00011 public:
00012 AudioOutFilename(const std::string & s="") : OutFilename(s) {}
00013 AudioOutFilename(const char * s) : OutFilename(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
00021
00022
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 CLAM_TYPEINFOGROUP(BasicCTypeInfo, AudioOutFilename);
00039
00040 }
00041
00042
00043
00044 #endif//AudioInFilename_hxx
00045