The SynthModule interface is the base for all modules containing streams.
There are two goals achieved by this interface. On one side, there is functionality which users of stream carrying modules want to use (which is: start streaming, stop streaming).
On the other hand, there is functionality which the flow system will use to achieve these goals.
| void start ()
| start |
This function starts the streaming (e.g. the module will start producing samples) - if you write a module, do not reimplement this, instead reimplement streamInit/streamStart
| void stop ()
| stop |
This function stops the streaming - if you write a plugin, do not reimplement this, instead reimplement streamEnd
| void streamInit ()
| streamInit |
this is supposed to be the initialization every module passes after all attributes have been set up (e.g. you can see which file to open, how to initialize your filter coefficients or whatever)
| void streamStart ()
| streamStart |
starts the I/O of the module
| void streamEnd ()
| streamEnd |
stop the thing again, and free data possibly allocated in streamInit
| readonly attribute AutoSuspendState autoSuspend | autoSuspend |
| Generated by: stefan on stefan on Sat Jun 2 23:13:43 2001, using kdoc 2.0a53. |