Struct

AgsAudioAudioBufferUtil

Description

struct AgsAudioBufferUtil {
  gpointer destination;
  AgsSoundcardFormat destination_format;
  guint destination_stride;
  gpointer source;
  AgsSoundcardFormat source_format;
  guint source_stride;
  AgsAudioBufferUtilCopyMode copy_mode;
  gpointer converted_source;
  guint buffer_length;
}

No description available.

Structure members
destination

No description available.

destination_format

No description available.

destination_stride

No description available.

source

No description available.

source_format

No description available.

source_stride

No description available.

copy_mode

No description available.

converted_source

No description available.

buffer_length

No description available.

Functions

ags_audio_buffer_util_alloc

Allocate AgsAudioBufferUtil-struct.

since: 7.0.0

Instance methods

ags_audio_buffer_util_clear_buffer

Clears the audio data.

since: 3.0.0

ags_audio_buffer_util_clear_complex

Clears a buffer.

since: 3.0.0

ags_audio_buffer_util_clear_double

Clears a buffer.

since: 3.0.0

ags_audio_buffer_util_clear_float

Clears a buffer.

since: 3.0.0

ags_audio_buffer_util_copy

Create a copy of ptr.

since: 7.0.0

ags_audio_buffer_util_copy_buffer_to_buffer

Wrapper function to copy functions. Doing type conversion.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_complex_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_double_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_float_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s16_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s24_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s32_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s64_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_complex

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_double

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_float

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_s16

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_s24

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_s32

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_s64

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_copy_s8_to_s8

Copy audio data using additive strategy.

since: 3.0.0

ags_audio_buffer_util_fetch_v8double

Fetch double precision floating point data from vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8double_as_float

Fetch signed 16 bit data from double vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8double_as_s16

Fetch signed 16 bit data from double vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8double_as_s32

Fetch signed 32 bit data from double vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8double_as_s64

Fetch signed 64 bit data from double vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8double_as_s8

Fetch signed 8 bit data from double vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float

Fetch single precision floating point data from vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float_as_double

Fetch signed 16 bit data from float vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float_as_s16

Fetch signed 16 bit data from float vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float_as_s32

Fetch signed 32 bit data from float vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float_as_s64

Fetch signed 64 bit data from float vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8float_as_s8

Fetch signed 8 bit data from float vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8s16

Fetch signed 16 bit data from vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8s32

Fetch signed 32 bit data from vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8s64

Fetch signed 64 bit data from vector.

since: 7.0.0

ags_audio_buffer_util_fetch_v8s8

Fetch signed 8 bit data from vector.

since: 7.0.0

ags_audio_buffer_util_fill_v8double

Fill vector with double precision floating point data.

since: 7.0.0

ags_audio_buffer_util_fill_v8double_from_float

Fill vector with double precision floating point data from float.

since: 7.0.0

ags_audio_buffer_util_fill_v8double_from_s16

Fill vector with double precision floating point data from signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8double_from_s32

Fill vector with double precision floating point data from signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8double_from_s64

Fill vector with double precision floating point data from signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8double_from_s8

Fill vector with double precision floating point data from signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8float

Fill vector with single precision floating point data.

since: 7.0.0

ags_audio_buffer_util_fill_v8float_from_double

Fill vector with float precision floating point data from float.

since: 7.0.0

ags_audio_buffer_util_fill_v8float_from_s16

Fill vector with float precision floating point data from signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8float_from_s32

Fill vector with float precision floating point data from signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8float_from_s64

Fill vector with float precision floating point data from signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8float_from_s8

Fill vector with float precision floating point data from signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_fill_v8s16

Fill vector with signed 16 bit data.

since: 7.0.0

ags_audio_buffer_util_fill_v8s32

Fill vector with signed 32 bit data.

since: 7.0.0

ags_audio_buffer_util_fill_v8s64

Fill vector with signed 64 bit data.

since: 7.0.0

ags_audio_buffer_util_fill_v8s8

Fill vector with signed 8 bit data.

since: 7.0.0

ags_audio_buffer_util_format_from_soundcard

Translate soundcard format to audio buffer util format.

since: 3.0.0

ags_audio_buffer_util_free

Free the memory of ptr.

since: 7.0.0

ags_audio_buffer_util_get_buffer_length

Get buffer length of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_copy_mode

Get copy_mode of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_copy_mode_from_format

Get copy mode for given destination and source format.

since: 3.0.0

ags_audio_buffer_util_get_destination

Get destination buffer of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_destination_format

Get destination format of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_destination_stride

Get destination stride of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_double_as_float

Read vector with double precision floating point data as float.

since: 7.0.0

ags_audio_buffer_util_get_double_as_s16

Read vector with double precision floating point data as signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_get_double_as_s32

Read vector with double precision floating point data as signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_get_double_as_s64

Read vector with double precision floating point data as signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_get_double_as_s8

Read vector with double precision floating point data as signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_get_float_as_double

Read vector with single precision floating point data as double.

since: 7.0.0

ags_audio_buffer_util_get_float_as_s16

Read vector with single precision floating point data as signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_get_float_as_s32

Read vector with single precision floating point data as signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_get_float_as_s64

Read vector with single precision floating point data as signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_get_float_as_s8

Read vector with single precision floating point data as signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_get_int_as_double

Read vector with integer as double.

since: 7.0.0

ags_audio_buffer_util_get_int_as_float

Read vector with integer as float.

since: 7.0.0

ags_audio_buffer_util_get_int_as_s16

Read vector with integer as signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_get_int_as_s32

Read vector with integer as signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_get_int_as_s64

Read vector with integer as signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_get_int_as_s8

Read vector with integer as signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_get_source

Get source buffer of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_source_format

Get source format of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_get_source_stride

Get source stride of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_pong

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_complex

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_double

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_float

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_s16

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_s24

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_s32

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_s64

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_pong_s8

Pingpong copy source to destination.

since: 3.4.0

ags_audio_buffer_util_put_double

Fill vector with double precision floating point data.

since: 7.0.0

ags_audio_buffer_util_put_double_from_float

Fill vector with double precision floating point data from float.

since: 7.0.0

ags_audio_buffer_util_put_double_from_s16

Fill vector with double precision floating point data from signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_put_double_from_s32

Fill vector with double precision floating point data from signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_put_double_from_s64

Fill vector with double precision floating point data from signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_put_double_from_s8

Fill vector with double precision floating point data from signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_put_float

Fill vector with single precision floating point data.

since: 7.0.0

ags_audio_buffer_util_put_float_from_double

Fill vector with single precision floating point data from double.

since: 7.0.0

ags_audio_buffer_util_put_float_from_s16

Fill vector with single precision floating point data from signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_put_float_from_s32

Fill vector with single precision floating point data from signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_put_float_from_s64

Fill vector with single precision floating point data from signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_put_float_from_s8

Fill vector with single precision floating point data from signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_put_int

Fill vector with integer data.

since: 7.0.0

ags_audio_buffer_util_put_int_from_double

Fill vector with single precision floating point data from double.

since: 7.0.0

ags_audio_buffer_util_put_int_from_float

Fill vector with single precision floating point data from float.

since: 7.0.0

ags_audio_buffer_util_put_int_from_s16

Fill vector with single precision floating point data from signed 16 bit.

since: 7.0.0

ags_audio_buffer_util_put_int_from_s32

Fill vector with single precision floating point data from signed 32 bit.

since: 7.0.0

ags_audio_buffer_util_put_int_from_s64

Fill vector with single precision floating point data from signed 64 bit.

since: 7.0.0

ags_audio_buffer_util_put_int_from_s8

Fill vector with single precision floating point data from signed 8 bit.

since: 7.0.0

ags_audio_buffer_util_set_buffer_length

Set buffer_length of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_copy_mode

Set copy_mode of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_destination

Set destination buffer of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_destination_format

Set destination_format of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_destination_stride

Set destination stride of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_source

Set source buffer of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_source_format

Set source_format of audio_buffer_util.

since: 7.0.0

ags_audio_buffer_util_set_source_stride

Set source stride of audio_buffer_util.

since: 7.0.0