CLAM-Development  1.4.0
AudioOutFilename.hxx
Go to the documentation of this file.
1 #ifndef AudioOutFilename_hxx
2 #define AudioOutFilename_hxx
3 
4 #include "Filename.hxx"
5 
6 namespace CLAM
7 {
8 
10 {
11 public:
12  AudioOutFilename(const std::string & s="") : OutFilename(s) {}
13  AudioOutFilename(const char * s) : OutFilename(s) {}
14  virtual const char * TypeFamily() const { return "Audio"; }
15  virtual const Filter * Filters() const
16  {
17  static const Filter filters[] = {
18  {"Microsoft RIFF/WAVE files", "*.wav"},
19  {"Vorbis I files (Ogg/Vorbis)", "*.ogg"},
20  // {"Mpeg Audio Layer 1", "*.mp1 *.mpg"}, // Write not supported
21  // {"Mpeg Audio Layer 2", "*.mp2 *.mpg"}, // Write not supported
22  // {"Mpeg Audio Layer 3", "*.mp3 *.mpg"}, // Write not supported
23  {"Apple/SGI AIFF files", "*.aiff *.aif"},
24  {"Sun/Next AU files", "*.snd *.au"},
25  {"RAW PCM files", "*.raw"},
26  {"Ensoniq's PARIS Files", "*.paf"},
27  {"Amiga IFF files", "*.svx"},
28  {"Sphere NIST files", "*.nist"},
29  {"Creative's VOC files", "*.voc"},
30  {"Berkeley/IRCAM/CARL files", "*.ircam"},
31  {"Sonic Foundry's 64 RIFF/WAV files","*.w64"},
32  {"Matlab/GNU Octave files", "*.mat4 *.mat5 *.mat"},
33  {0,0}
34  };
35  return filters;
36  }
37 };
38 CLAM_TYPEINFOGROUP(BasicCTypeInfo, AudioOutFilename);
39 
40 }
41 
42 
43 
44 #endif//AudioInFilename_hxx
45