wscript: check for 64bit using sys.maxsize (closes #3)
[vamp-aubio-plugins.git] / plugins / Types.h
index e005a8a..4fcd6fe 100644 (file)
@@ -5,7 +5,7 @@
 
     Centre for Digital Music, Queen Mary, University of London.
     This file copyright 2012 Queen Mary, University of London.
-    
+
     This file is part of vamp-aubio-plugins.
 
     vamp-aubio is free software: you can redistribute it and/or modify
 #ifndef _ONSET_TYPE_H_
 #define _ONSET_TYPE_H_
 
+/** silence unused parameter warning by adding an attribute */
+#if defined(__GNUC__)
+#define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
+
 // Note: the enum values in this header are ordered to match the Vamp
 // plugin parameter values in earlier versions of this plugin set, to
 // avoid breaking stored parameter settings that use the parameter's
@@ -40,7 +47,8 @@ enum OnsetType {
     OnsetPhase,
     OnsetKL,
     OnsetMKL,
-    OnsetSpecFlux // new in 0.4!
+    OnsetSpecFlux, // new in 0.4!
+    OnsetDefault   // new in 0.5
 };
 
 extern const char *getAubioNameForOnsetType(OnsetType t);
@@ -67,8 +75,6 @@ enum PitchType {
 };
 
 extern const char *getAubioNameForPitchType(PitchType t);
-    
 
 #endif
 
-