mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-13 11:21:06 +00:00
update API docs on fluid_synth_process()
This commit is contained in:
parent
728c560cc6
commit
fd27e15746
1 changed files with 2 additions and 3 deletions
|
@ -69,6 +69,7 @@ FluidSynths major version was bumped. The API was reworked, deprecated functions
|
|||
- explicit client unregistering is required for fluid_sequencer_register_client() and fluid_sequencer_register_fluidsynth()
|
||||
- all public functions consistently receive signed integers for soundfont ids, bank and program numbers
|
||||
- use unique device names for the "audio.portaudio.device" setting
|
||||
- fluid_synth_process() received a new more flexible implementation, but now requires zeroed-out sample buffers
|
||||
|
||||
<strong>Other changes in FluidSynth 2.0.0 concerning developers:</strong>
|
||||
|
||||
|
@ -234,9 +235,7 @@ There are a number of general audio driver settings. The audio.driver settings d
|
|||
|
||||
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.
|
||||
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. The function fluid_synth_process() is the generic interface for synthesizing audio, which is also capable of multi channel audio output.
|
||||
|
||||
\section LoadingSoundfonts Loading and managing SoundFonts
|
||||
|
||||
|
|
Loading…
Reference in a new issue