diff audioio/AudioGenerator.h @ 10:b6dc944128da

* Add basics of MIDI file import. Doesn't actually create the model yet. * Add rewind to start / ffwd to end. * Make zoom constraint default to sqrt(2) type if no constraint set
author Chris Cannam
date Thu, 09 Feb 2006 18:01:52 +0000
parents 24b500216029
children 8dc0ae8fccdd
line wrap: on
line diff
--- a/audioio/AudioGenerator.h	Wed Feb 08 17:59:16 2006 +0000
+++ b/audioio/AudioGenerator.h	Thu Feb 09 18:01:52 2006 +0000
@@ -30,8 +30,10 @@
     /**
      * Add a data model to be played from and initialise any
      * necessary audio generation code.
+     * Returns true if the model is of a type that we know how to play.
+     * (The model will be added regardless.)
      */
-    virtual void addModel(Model *model);
+    virtual bool addModel(Model *model);
 
     /**
      * Remove a model.