MIDI Object Commands
145
KSP Reference Manual
mf_insert_event()
mf_remove_event()
save_midi_file()
16.5. mf_get_buffer_size()
mf_get_buffer_size()
Returns the size of the MIDI event buffer
Remarks
• The maximum buffer size is 1,000,000 events, including both active and inactive events.
• Inserting a MIDI event will decrease the buffer size by one. Removing an event will increase it
by one.
See Also
mf_insert_file()
mf_set_buffer_size()
mf_reset()
mf_insert_event()
mf_remove_event()
save_midi_file()
16.6. mf_reset()
mf_reset()
Resets the MIDI object, sets the event buffer to zero, and removes all events
Remarks
• This command purges all MIDI data. Use with caution.
• This command is also asynchronous, and thus calls the
async_complete
callback.
See Also
mf_insert_file()
mf_set_buffer_size()
mf_reset()
mf_insert_event()
mf_remove_event()
save_midi_file()
MIDI Object Commands
146
KSP Reference Manual
16.7. mf_insert_event()
mf_insert_event( Do'stlaringiz bilan baham: |