diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-10-29 14:45:49 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-10-29 14:45:49 +0000 |
| commit | 858cb95b8539f5695c5348c340b9f982d8b66719 (patch) | |
| tree | bed7d5c75de92d4b15d74311f6385aba7bac49da /rotord/src/rotor.h | |
| parent | 9fc8a2e7b770339b72c080cfa510c461706fe43c (diff) | |
making intensity segmenter
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index d9ba66d..f179efd 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -342,17 +342,6 @@ namespace Rotor { protected: unsigned char *lut; }; - class Audio_processor: public Signal_node { - public: - virtual Audio_processor(){}; - virtual ~Audio_processor(){}; - virtual int process_frame(uint8_t *data,int samples)=0; - virtual bool init(int _channels,int _bits,int _samples,int _rate)=0; - virtual void cleanup()=0; - virtual void print_summary(){}; - virtual string get_features(){}; - int channels,bits,samples,rate; - }; //actual nodes------------------------------------------------- #define CYCLER_cut 1 #define CYCLER_mix 2 @@ -712,8 +701,8 @@ namespace Rotor { void list_categories(xmlIO XML); void list_categories(Json::Value &JSON); private: - unordered_map<string,Node*> type_map; - unordered_map<string,vector<Rotor::Node*> > category; + map<string,Node*> type_map; + map<string,vector<Rotor::Node*> > category; }; } |
