0
0
Fork 0
mirror of https://github.com/ZDoom/fluidsynth.git synced 2025-03-02 15:31:52 +00:00

update deprecated note of fluid_synth_nwrite_float()

This commit is contained in:
derselbst 2018-07-16 12:21:55 +02:00
parent 2ea8c9a7dc
commit bb413011f7

View file

@ -3275,6 +3275,8 @@ fluid_synth_program_reset(fluid_synth_t *synth)
* *
* @note Should only be called from synthesis thread. * @note Should only be called from synthesis thread.
* *
* @deprecated fluid_synth_nwrite_float() is deprecated and will be removed in a future release. It may continue to work or it may return #FLUID_FAILED in the future. Consider using the more powerful and flexible fluid_synth_process().
*
* Usage example: * Usage example:
* @code{.cpp} * @code{.cpp}
const int FramesToRender = 64; const int FramesToRender = 64;
@ -3310,8 +3312,6 @@ fluid_synth_program_reset(fluid_synth_t *synth)
fluid_synth_nwrite_float(synth, FramesToRender, mix_buf_l, mix_buf_r, fx_buf_l, fx_buf_r) fluid_synth_nwrite_float(synth, FramesToRender, mix_buf_l, mix_buf_r, fx_buf_l, fx_buf_r)
* @endcode * @endcode
*
* @deprecated fluid_synth_nwrite_float() is deprecated. Consider using the more powerful and flexible fluid_synth_process().
*/ */
int int
fluid_synth_nwrite_float(fluid_synth_t *synth, int len, fluid_synth_nwrite_float(fluid_synth_t *synth, int len,