It is possible to use the synthesizer object without creating an audio driver. This is desirable if the application using FluidSynth manages the audio output itself. The synthesizer has several API functions that can be used to obtain the audio output:
fluid_synth_write_s16
fills two buffers (left
and right channel) with samples coded as signed 16 bits (the
endian-ness is machine
dependent). fluid_synth_write_float
fills a
left and right audio buffer with 32 bits floating point
samples. For multi channel audio output, the function
fluid_synth_nwrite_float
has to be used.
The function fluid_synth_process
is still
experimental and its use is therefore not recommended but it will
probably become the generic interface in future versions.