[−][src]Function fluidlite_sys::fluid_voice_get_id
pub unsafe extern "C" fn fluid_voice_get_id(voice: *mut fluid_voice_t) -> c_uint
Return the unique ID of the noteon-event. A sound font loader may store the voice processes it has created for * real-time control during the operation of a voice (for example: parameter changes in sound font editor). The synth uses a pool of voices, which are 'recycled' and never deallocated.
Before modifying an existing voice, check
- that its state is still 'playing'
- that the ID is still the same Otherwise the voice has finished playing.