diff examples/PercussionOnsetDetector.h @ 49:aa64a46320d4

* Rename "name" and "description" to "identifier" and "name"; add new "description" that actually contains a description
author cannam
date Mon, 26 Feb 2007 18:08:48 +0000
parents be8fdfe25693
children 933fee59d33a
line wrap: on
line diff
--- a/examples/PercussionOnsetDetector.h	Thu Jan 25 13:39:31 2007 +0000
+++ b/examples/PercussionOnsetDetector.h	Mon Feb 26 18:08:48 2007 +0000
@@ -50,6 +50,7 @@
 
     InputDomain getInputDomain() const { return FrequencyDomain; }
 
+    std::string getIdentifier() const;
     std::string getName() const;
     std::string getDescription() const;
     std::string getMaker() const;
@@ -60,8 +61,8 @@
     size_t getPreferredBlockSize() const;
 
     ParameterList getParameterDescriptors() const;
-    float getParameter(std::string name) const;
-    void setParameter(std::string name, float value);
+    float getParameter(std::string id) const;
+    void setParameter(std::string id, float value);
 
     OutputList getOutputDescriptors() const;