During the weekend I've implemented sample timer support in the sequencer, and I committed that change earlier today. Some notes:
- To try the new sample timer functionality simply call new_fluid_sequencer2(0) instead of new_fluid_sequencer(). That will disable the system timer, which the seqbinder will detect and instead enable the sample timer. - You can also call fluid_sequencer_process manually if you want to use the sequencer outside both the synth and the wall clock. - About the coding style, I mainly tried to follow what was around me. I thought that would be the best course of action since we're before the reformatting. - One question about glib: When we add new public API functions, should these depend on glib or should we avoid it? In this context, I made a new public API function that returned a boolean value, and didn't really know whether it should return int or gboolean. - In order for things to clean up nicely and still maintain backwards compatibility, I decided to add a new sequencer event type. The midi callback is called with this event upon destruction of the sequencer, or when the client is unregistered. This is not strictly backwards compatible but as long as existing code does nothing for unknown event types it should not be a problem. // David _______________________________________________ fluid-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fluid-dev
