00001 #include "Fundamental2Control.hxx" 00002 #include "ProcessingFactory.hxx" 00003 00004 namespace CLAM 00005 { 00006 namespace Hidden 00007 { 00008 static const char * metadata[] = { 00009 "key", "Fundamental2Control", 00010 "category", "Controls", 00011 "description", "Fundamental2Control", 00012 0 00013 }; 00014 static FactoryRegistrator<ProcessingFactory, Fundamental2Control> reg = metadata; 00015 } 00016 00017 bool Fundamental2Control::Do( const Fundamental& inFund ) 00018 { 00019 mFreqControlOut.SendControl( inFund.GetFreq(0) ); 00020 return true; 00021 } 00022 00023 00024 } 00025