CLAM-Development
1.1
|
00001 #include "SDIFInConfig.hxx" 00002 00003 namespace CLAM 00004 { 00005 00006 void SDIFInConfig::DefaultInit() 00007 { 00008 AddRelativePeakIndices(); 00009 AddFileName(); 00010 AddEnableResidual(); 00011 AddEnablePeakArray(); 00012 AddEnableFundFreq(); 00013 AddSpectralRange(); 00014 AddMaxNumPeaks(); 00015 UpdateData(); 00016 00017 /* This may have to change to false but right now, Salto is the most important app that 00018 uses it and needs it set to true.*/ 00019 SetRelativePeakIndices(true); 00020 /* Is it a good idea to add a dummy FileName when we don't really have one? 00021 * In any case a few applications probably depend on this member already existing. 00022 * So let's leave this alone... 00023 */ 00024 SetFileName( "nofile" ); 00025 SetEnableResidual(true); 00026 SetEnablePeakArray(true); 00027 SetEnableFundFreq(true); 00028 SetSpectralRange(22050); 00029 SetMaxNumPeaks(100); 00030 } 00031 00032 } 00033 00034