Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
9:e71385792d9d | 10:b6dc944128da |
---|---|
28 virtual ~AudioGenerator(); | 28 virtual ~AudioGenerator(); |
29 | 29 |
30 /** | 30 /** |
31 * Add a data model to be played from and initialise any | 31 * Add a data model to be played from and initialise any |
32 * necessary audio generation code. | 32 * necessary audio generation code. |
33 * Returns true if the model is of a type that we know how to play. | |
34 * (The model will be added regardless.) | |
33 */ | 35 */ |
34 virtual void addModel(Model *model); | 36 virtual bool addModel(Model *model); |
35 | 37 |
36 /** | 38 /** |
37 * Remove a model. | 39 * Remove a model. |
38 */ | 40 */ |
39 virtual void removeModel(Model *model); | 41 virtual void removeModel(Model *model); |