Struct

AgsAudioResampleUtil

Description

struct AgsResampleUtil {
  gpointer destination;
  guint destination_stride;
  gpointer source;
  guint source_stride;
  guint buffer_length;
  AgsSoundcardFormat format;
  guint samplerate;
  guint target_samplerate;
  gdouble src_ratio;
  glong saved_frames;
  glong input_frames_used;
  glong output_frames_gen;
  gint end_of_input;
  gint input_frames;
  gpointer data_in;
  gint output_frames;
  gpointer data_out;
  gint increment;
  gboolean bypass_cache;
  glong in_count;
  glong in_used;
  glong out_count;
  glong out_gen;
  gint coeff_half_len;
  gint index_inc;
  gdouble input_index;
  gint b_current;
  gint b_end;
  gint b_real_end;
  gint b_len;
  gdouble* coeffs;
  gdouble left_calc;
  gdouble right_calc;
  gdouble last_ratio;
  gdouble last_position;
  gpointer buffer;
  AgsAudioBufferUtil* audio_buffer_util;
}

No description available.

Structure members
destination

No description available.

destination_stride

No description available.

source

No description available.

source_stride

No description available.

buffer_length

No description available.

format

No description available.

samplerate

No description available.

target_samplerate

No description available.

src_ratio

No description available.

saved_frames

No description available.

input_frames_used

No description available.

output_frames_gen

No description available.

end_of_input

No description available.

input_frames

No description available.

data_in

No description available.

output_frames

No description available.

data_out

No description available.

increment

No description available.

bypass_cache

No description available.

in_count

No description available.

in_used

No description available.

out_count

No description available.

out_gen

No description available.

coeff_half_len

No description available.

index_inc

No description available.

input_index

No description available.

b_current

No description available.

b_end

No description available.

b_real_end

No description available.

b_len

No description available.

coeffs

No description available.

left_calc

No description available.

right_calc

No description available.

last_ratio

No description available.

last_position

No description available.

buffer

No description available.

audio_buffer_util

No description available.

Functions

ags_resample_util_alloc

Allocate AgsResampleUtil-struct.

since: 3.9.2

Instance methods

ags_resample_util_compute

Compute resample.

since: 3.9.2

ags_resample_util_compute_complex

Compute resample of complex floating point data.

since: 3.9.2

ags_resample_util_compute_double

Compute resample of double floating point data.

since: 3.9.2

ags_resample_util_compute_float

Compute resample of floating point data.

since: 3.9.2

ags_resample_util_compute_s16

Compute resample of signed 16 bit data.

since: 3.9.2

ags_resample_util_compute_s24

Compute resample of signed 24 bit data.

since: 3.9.2

ags_resample_util_compute_s32

Compute resample of signed 32 bit data.

since: 3.9.2

ags_resample_util_compute_s64

Compute resample of signed 64 bit data.

since: 3.9.2

ags_resample_util_compute_s8

Compute resample of signed 8 bit data.

since: 3.9.2

ags_resample_util_copy

Create a copy of ptr.

since: 3.9.2

ags_resample_util_free

Free the memory of ptr.

since: 3.9.2

ags_resample_util_get_buffer_length

Get buffer length of resample_util.

since: 3.9.2

ags_resample_util_get_destination

Get destination buffer of resample_util.

since: 3.9.2

ags_resample_util_get_destination_stride

Get destination stride of resample_util.

since: 3.9.2

ags_resample_util_get_format

Get format of resample_util.

since: 3.9.6

ags_resample_util_get_samplerate

Get samplerate of resample_util.

since: 3.9.2

ags_resample_util_get_source

Get source buffer of resample_util.

since: 3.9.2

ags_resample_util_get_source_stride

Get source stride of resample_util.

since: 3.9.2

ags_resample_util_get_target_samplerate

Get target samplerate of resample_util.

since: 3.9.2

ags_resample_util_init

Init AgsResampleUtil-struct.

since: 5.5.1

ags_resample_util_set_buffer_length

Set buffer_length of resample_util.

since: 3.9.2

ags_resample_util_set_destination

Set destination buffer of resample_util.

since: 3.9.2

ags_resample_util_set_destination_stride

Set destination stride of resample_util.

since: 3.9.2

ags_resample_util_set_format

Set format of resample_util.

since: 3.9.6

ags_resample_util_set_samplerate

Set samplerate of resample_util.

since: 3.9.2

ags_resample_util_set_source

Set source buffer of resample_util.

since: 3.9.2

ags_resample_util_set_source_stride

Set source stride of resample_util.

since: 3.9.2

ags_resample_util_set_target_samplerate

Set target_samplerate of resample_util.

since: 3.9.2