mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-06-02 10:01:57 +00:00
make fluid_audio_callback_t private
This commit is contained in:
parent
de58579c72
commit
f437662a5e
2 changed files with 15 additions and 14 deletions
|
@ -279,20 +279,6 @@ FLUIDSYNTH_API int fluid_synth_process(fluid_synth_t* synth, int len,
|
||||||
int nin, float** in,
|
int nin, float** in,
|
||||||
int nout, float** out);
|
int nout, float** out);
|
||||||
|
|
||||||
/**
|
|
||||||
* Type definition of the synthesizer's audio callback function.
|
|
||||||
* @param synth FluidSynth instance
|
|
||||||
* @param len Count of audio frames to synthesize
|
|
||||||
* @param out1 Array to store left channel of audio to
|
|
||||||
* @param loff Offset index in 'out1' for first sample
|
|
||||||
* @param lincr Increment between samples stored to 'out1'
|
|
||||||
* @param out2 Array to store right channel of audio to
|
|
||||||
* @param roff Offset index in 'out2' for first sample
|
|
||||||
* @param rincr Increment between samples stored to 'out2'
|
|
||||||
*/
|
|
||||||
typedef int (*fluid_audio_callback_t)(fluid_synth_t* synth, int len,
|
|
||||||
void* out1, int loff, int lincr,
|
|
||||||
void* out2, int roff, int rincr);
|
|
||||||
|
|
||||||
/* Synthesizer's interface to handle SoundFont loaders */
|
/* Synthesizer's interface to handle SoundFont loaders */
|
||||||
|
|
||||||
|
|
|
@ -170,6 +170,21 @@ struct _fluid_synth_t
|
||||||
enum fluid_iir_filter_flags custom_filter_flags; /**< filter type of the user-defined filter currently used for all voices */
|
enum fluid_iir_filter_flags custom_filter_flags; /**< filter type of the user-defined filter currently used for all voices */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Type definition of the synthesizer's audio callback function.
|
||||||
|
* @param synth FluidSynth instance
|
||||||
|
* @param len Count of audio frames to synthesize
|
||||||
|
* @param out1 Array to store left channel of audio to
|
||||||
|
* @param loff Offset index in 'out1' for first sample
|
||||||
|
* @param lincr Increment between samples stored to 'out1'
|
||||||
|
* @param out2 Array to store right channel of audio to
|
||||||
|
* @param roff Offset index in 'out2' for first sample
|
||||||
|
* @param rincr Increment between samples stored to 'out2'
|
||||||
|
*/
|
||||||
|
typedef int (*fluid_audio_callback_t)(fluid_synth_t* synth, int len,
|
||||||
|
void* out1, int loff, int lincr,
|
||||||
|
void* out2, int roff, int rincr);
|
||||||
|
|
||||||
fluid_preset_t* fluid_synth_find_preset(fluid_synth_t* synth,
|
fluid_preset_t* fluid_synth_find_preset(fluid_synth_t* synth,
|
||||||
unsigned int banknum,
|
unsigned int banknum,
|
||||||
unsigned int prognum);
|
unsigned int prognum);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue