newsAdvanced Gtk+ Sequencer - News: refactored utility functions

 
 
Latest News
GSequencer version 3.14.3 released posted by jkraehemann, Tue 21 Dec 2021 08:14:10 PM UTC - 0 replies
deprecated AgsDevout, AgsDevin and AgsMidiin posted by jkraehemann, Wed 08 Dec 2021 12:30:55 PM UTC - 0 replies
GSequencer version 3.10.5 released posted by jkraehemann, Sun 29 Aug 2021 07:41:14 AM UTC - 0 replies
implement VST3 C API Wrapper posted by jkraehemann, Tue 10 Aug 2021 12:53:03 PM UTC - 0 replies
refactored utility functions posted by jkraehemann, Tue 03 Aug 2021 06:26:38 AM UTC - 0 replies
[Submit News]
[105 news in archive]

refactored utility functions

Item posted by Joël Krähemann <jkraehemann> on Tue 03 Aug 2021 06:26:38 AM UTC.

Many utility functions have been declared as deprecated. Each has got a replacement function with a different signature. The new functions accept only 1 argument, the struct containing all needed parameters.

Further, all structs has got at least the source and source_stride fields and if needed destination and destination_stride.

Passing parameters as struct has some advantages, like the ability to prefault memory and no more dynamic memory allocation during processing of utility functions. This make it easy if a utility function needs another utility function.

deprecated utility functions

Here a short summary of deprecated functions


  • ags_fast_pitch_util_compute_s8()
  • ags_fast_pitch_util_compute_s16()
  • ags_fast_pitch_util_compute_s24()
  • ags_fast_pitch_util_compute_s32()
  • ags_fast_pitch_util_compute_s64()
  • ags_fast_pitch_util_compute_float()
  • ags_fast_pitch_util_compute_double()
  • ags_fast_pitch_util_compute_complex()

  • ags_hq_pitch_util_compute_s8()
  • ags_hq_pitch_util_compute_s16()
  • ags_hq_pitch_util_compute_s24()
  • ags_hq_pitch_util_compute_s32()
  • ags_hq_pitch_util_compute_s64()
  • ags_hq_pitch_util_compute_float()
  • ags_hq_pitch_util_compute_double()
  • ags_hq_pitch_util_compute_complex()

  • ags_linear_interpolate_util_fill_s8()
  • ags_linear_interpolate_util_fill_s16()
  • ags_linear_interpolate_util_fill_s24()
  • ags_linear_interpolate_util_fill_s32()
  • ags_linear_interpolate_util_fill_s64()
  • ags_linear_interpolate_util_fill_float()
  • ags_linear_interpolate_util_fill_double()
  • ags_linear_interpolate_util_fill_complex()

  • ags_sf2_synth_util_copy_s8()
  • ags_sf2_synth_util_copy_s16()
  • ags_sf2_synth_util_copy_s24()
  • ags_sf2_synth_util_copy_s32()
  • ags_sf2_synth_util_copy_s64()
  • ags_sf2_synth_util_copy_float()
  • ags_sf2_synth_util_copy_double()
  • ags_sf2_synth_util_copy_complex()
  • ags_sf2_synth_util_copy()

  • ags_sfz_synth_util_copy_s8()
  • ags_sfz_synth_util_copy_s16()
  • ags_sfz_synth_util_copy_s24()
  • ags_sfz_synth_util_copy_s32()
  • ags_sfz_synth_util_copy_s64()
  • ags_sfz_synth_util_copy_float()
  • ags_sfz_synth_util_copy_double()
  • ags_sfz_synth_util_copy_complex()
  • ags_sfz_synth_util_copy()

  • ags_fluid_iir_filter_util_apply_s8()
  • ags_fluid_iir_filter_util_apply_s16()
  • ags_fluid_iir_filter_util_apply_s24()
  • ags_fluid_iir_filter_util_apply_s32()
  • ags_fluid_iir_filter_util_apply_s64()
  • ags_fluid_iir_filter_util_apply_float()
  • ags_fluid_iir_filter_util_apply_double()
  • ags_fluid_iir_filter_util_apply_complex()

  • ags_fluid_interpolate_none_util_fill_s8()
  • ags_fluid_interpolate_none_util_fill_s16()
  • ags_fluid_interpolate_none_util_fill_s24()
  • ags_fluid_interpolate_none_util_fill_s32()
  • ags_fluid_interpolate_none_util_fill_s64()
  • ags_fluid_interpolate_none_util_fill_float()
  • ags_fluid_interpolate_none_util_fill_double()
  • ags_fluid_interpolate_none_util_fill_complex()

  • ags_fluid_interpolate_linear_util_fill_s8()
  • ags_fluid_interpolate_linear_util_fill_s16()
  • ags_fluid_interpolate_linear_util_fill_s24()
  • ags_fluid_interpolate_linear_util_fill_s32()
  • ags_fluid_interpolate_linear_util_fill_s64()
  • ags_fluid_interpolate_linear_util_fill_float()
  • ags_fluid_interpolate_linear_util_fill_double()
  • ags_fluid_interpolate_linear_util_fill_complex()

  • ags_fluid_interpolate_4th_order_util_fill_s8()
  • ags_fluid_interpolate_4th_order_util_fill_s16()
  • ags_fluid_interpolate_4th_order_util_fill_s24()
  • ags_fluid_interpolate_4th_order_util_fill_s32()
  • ags_fluid_interpolate_4th_order_util_fill_s64()
  • ags_fluid_interpolate_4th_order_util_fill_float()
  • ags_fluid_interpolate_4th_order_util_fill_double()
  • ags_fluid_interpolate_4th_order_util_fill_complex()

  • ags_fluid_interpolate_7th_order_util_fill_s8()
  • ags_fluid_interpolate_7th_order_util_fill_s16()
  • ags_fluid_interpolate_7th_order_util_fill_s24()
  • ags_fluid_interpolate_7th_order_util_fill_s32()
  • ags_fluid_interpolate_7th_order_util_fill_s64()
  • ags_fluid_interpolate_7th_order_util_fill_float()
  • ags_fluid_interpolate_7th_order_util_fill_double()
  • ags_fluid_interpolate_7th_order_util_fill_complex()

  • ags_audio_buffer_util_volume_s8()
  • ags_audio_buffer_util_volume_s16()
  • ags_audio_buffer_util_volume_s24()
  • ags_audio_buffer_util_volume_s32()
  • ags_audio_buffer_util_volume_s64()
  • ags_audio_buffer_util_volume_float()
  • ags_audio_buffer_util_volume_double()
  • ags_audio_buffer_util_volume_complex()
  • ags_audio_buffer_util_volume()

  • ags_audio_buffer_util_peak_s8()
  • ags_audio_buffer_util_peak_s16()
  • ags_audio_buffer_util_peak_s24()
  • ags_audio_buffer_util_peak_s32()
  • ags_audio_buffer_util_peak_s64()
  • ags_audio_buffer_util_peak_float()
  • ags_audio_buffer_util_peak_double()
  • ags_audio_buffer_util_peak_complex()
  • ags_audio_buffer_util_peak()

  • ags_audio_buffer_util_resample_s8()
  • ags_audio_buffer_util_resample_s16()
  • ags_audio_buffer_util_resample_s24()
  • ags_audio_buffer_util_resample_s32()
  • ags_audio_buffer_util_resample_s64()
  • ags_audio_buffer_util_resample_float()
  • ags_audio_buffer_util_resample_double()
  • ags_audio_buffer_util_resample_complex()
  • ags_audio_buffer_util_resample()

  • ags_audio_buffer_util_resample_s8_with_buffer()
  • ags_audio_buffer_util_resample_s16_with_buffer()
  • ags_audio_buffer_util_resample_s24_with_buffer()
  • ags_audio_buffer_util_resample_s32_with_buffer()
  • ags_audio_buffer_util_resample_s64_with_buffer()
  • ags_audio_buffer_util_resample_float_with_buffer()
  • ags_audio_buffer_util_resample_double_with_buffer()
  • ags_audio_buffer_util_resample_complex_with_buffer()
  • ags_audio_buffer_util_resample_with_buffer()

by Joël

No messages in refactored utility functions

 

Back to the top


Powered by Savane 3.7