WildMidi_FastSeek3
Move to a position in a midi file
Usage
#include <wildmidi_lib.h>
int WildMidi_FastSeek (midi *handle, unsigned long int *sample_pos);
Library
libWildMidi
Overview
Resets all note specific midi states and active notes before scanning to sample_pos samples from the beginning taking note of any changes to midi channel states. The next call to WildMidi_GetOutput(3) will behave as if you started to play the midi from that position.
- handle
-
The identifier obtained from opening a midi file with WildMidi_Open(3) or WildMidi_OpenBuffer(3)
- sample_pos
-
The number of samples from the beginning you want libWildMidi to seek to.
NOTE: significant delay can occur when using this function. You can expect even more delay if you select a position that's already been passed forcing the library to start from the beginning.
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 2 times.