ags_audio_buffer_util

ags_audio_buffer_util

Functions

#define AGS_AUDIO_BUFFER_S8()
#define AGS_AUDIO_BUFFER_S16()
#define AGS_AUDIO_BUFFER_S24()
#define AGS_AUDIO_BUFFER_S32()
#define AGS_AUDIO_BUFFER_S64()
#define AGS_AUDIO_BUFFER_FLOAT()
#define AGS_AUDIO_BUFFER_DOUBLE()
guint ags_audio_buffer_util_format_from_soundcard ()
guint ags_audio_buffer_util_get_copy_mode ()
void ags_audio_buffer_util_clear_float ()
void ags_audio_buffer_util_clear_float32 ()
void ags_audio_buffer_util_clear_double ()
void ags_audio_buffer_util_clear_buffer ()
gdouble ags_audio_buffer_util_envelope_s8 ()
gdouble ags_audio_buffer_util_envelope_s16 ()
gdouble ags_audio_buffer_util_envelope_s24 ()
gdouble ags_audio_buffer_util_envelope_s32 ()
gdouble ags_audio_buffer_util_envelope_s64 ()
gdouble ags_audio_buffer_util_envelope_float ()
gdouble ags_audio_buffer_util_envelope_double ()
gdouble ags_audio_buffer_util_envelope ()
void ags_audio_buffer_util_volume_s8 ()
void ags_audio_buffer_util_volume_s16 ()
void ags_audio_buffer_util_volume_s24 ()
void ags_audio_buffer_util_volume_s32 ()
void ags_audio_buffer_util_volume_s64 ()
void ags_audio_buffer_util_volume_float ()
void ags_audio_buffer_util_volume_double ()
void ags_audio_buffer_util_volume ()
signed char * ags_audio_buffer_util_resample_s8 ()
signed short * ags_audio_buffer_util_resample_s16 ()
signed long * ags_audio_buffer_util_resample_s24 ()
signed long * ags_audio_buffer_util_resample_s32 ()
signed long long * ags_audio_buffer_util_resample_s64 ()
float * ags_audio_buffer_util_resample_float ()
double * ags_audio_buffer_util_resample_double ()
void * ags_audio_buffer_util_resample ()
gdouble ags_audio_buffer_util_peak_s8 ()
gdouble ags_audio_buffer_util_peak_s16 ()
gdouble ags_audio_buffer_util_peak_s24 ()
gdouble ags_audio_buffer_util_peak_s32 ()
gdouble ags_audio_buffer_util_peak_s64 ()
gdouble ags_audio_buffer_util_peak_float ()
gdouble ags_audio_buffer_util_peak_double ()
gdouble ags_audio_buffer_util_peak ()
void ags_audio_buffer_util_copy_s8_to_s8 ()
void ags_audio_buffer_util_copy_s8_to_s16 ()
void ags_audio_buffer_util_copy_s8_to_s24 ()
void ags_audio_buffer_util_copy_s8_to_s32 ()
void ags_audio_buffer_util_copy_s8_to_s64 ()
void ags_audio_buffer_util_copy_s8_to_float ()
void ags_audio_buffer_util_copy_s8_to_double ()
void ags_audio_buffer_util_copy_s16_to_s8 ()
void ags_audio_buffer_util_copy_s16_to_s16 ()
void ags_audio_buffer_util_copy_s16_to_s24 ()
void ags_audio_buffer_util_copy_s16_to_s32 ()
void ags_audio_buffer_util_copy_s16_to_s64 ()
void ags_audio_buffer_util_copy_s16_to_float ()
void ags_audio_buffer_util_copy_s16_to_double ()
void ags_audio_buffer_util_copy_s24_to_s8 ()
void ags_audio_buffer_util_copy_s24_to_s16 ()
void ags_audio_buffer_util_copy_s24_to_s24 ()
void ags_audio_buffer_util_copy_s24_to_s32 ()
void ags_audio_buffer_util_copy_s24_to_s64 ()
void ags_audio_buffer_util_copy_s24_to_float ()
void ags_audio_buffer_util_copy_s24_to_double ()
void ags_audio_buffer_util_copy_s32_to_s8 ()
void ags_audio_buffer_util_copy_s32_to_s16 ()
void ags_audio_buffer_util_copy_s32_to_s24 ()
void ags_audio_buffer_util_copy_s32_to_s32 ()
void ags_audio_buffer_util_copy_s32_to_s64 ()
void ags_audio_buffer_util_copy_s32_to_float ()
void ags_audio_buffer_util_copy_s32_to_double ()
void ags_audio_buffer_util_copy_s64_to_s8 ()
void ags_audio_buffer_util_copy_s64_to_s16 ()
void ags_audio_buffer_util_copy_s64_to_s24 ()
void ags_audio_buffer_util_copy_s64_to_s32 ()
void ags_audio_buffer_util_copy_s64_to_s64 ()
void ags_audio_buffer_util_copy_s64_to_float ()
void ags_audio_buffer_util_copy_s64_to_double ()
void ags_audio_buffer_util_copy_float_to_s8 ()
void ags_audio_buffer_util_copy_float_to_s16 ()
void ags_audio_buffer_util_copy_float_to_s24 ()
void ags_audio_buffer_util_copy_float_to_s32 ()
void ags_audio_buffer_util_copy_float_to_s64 ()
void ags_audio_buffer_util_copy_float_to_float ()
void ags_audio_buffer_util_copy_float_to_double ()
void ags_audio_buffer_util_copy_double_to_s8 ()
void ags_audio_buffer_util_copy_double_to_s16 ()
void ags_audio_buffer_util_copy_double_to_s24 ()
void ags_audio_buffer_util_copy_double_to_s32 ()
void ags_audio_buffer_util_copy_double_to_s64 ()
void ags_audio_buffer_util_copy_double_to_float ()
void ags_audio_buffer_util_copy_double_to_double ()
void ags_audio_buffer_util_copy_s8_to_float32 ()
void ags_audio_buffer_util_copy_s16_to_float32 ()
void ags_audio_buffer_util_copy_s24_to_float32 ()
void ags_audio_buffer_util_copy_s32_to_float32 ()
void ags_audio_buffer_util_copy_s64_to_float32 ()
void ags_audio_buffer_util_copy_buffer_to_buffer ()

Types and Values

Description

Functions

AGS_AUDIO_BUFFER_S8()

#define AGS_AUDIO_BUFFER_S8(ptr) ((signed char *)(ptr))

AGS_AUDIO_BUFFER_S16()

#define AGS_AUDIO_BUFFER_S16(ptr) ((signed short *)(ptr))

AGS_AUDIO_BUFFER_S24()

#define AGS_AUDIO_BUFFER_S24(ptr) ((signed long *)(ptr))

AGS_AUDIO_BUFFER_S32()

#define AGS_AUDIO_BUFFER_S32(ptr) ((signed long *)(ptr))

AGS_AUDIO_BUFFER_S64()

#define AGS_AUDIO_BUFFER_S64(ptr) ((signed long long *)(ptr))

AGS_AUDIO_BUFFER_FLOAT()

#define AGS_AUDIO_BUFFER_FLOAT(ptr) ((float *)(ptr))

AGS_AUDIO_BUFFER_DOUBLE()

#define AGS_AUDIO_BUFFER_DOUBLE(ptr) ((double *)(ptr))

ags_audio_buffer_util_format_from_soundcard ()

guint
ags_audio_buffer_util_format_from_soundcard
                               (guint soundcard_format);

Translate soundcard format to audio buffer util format.

Parameters

soundcard_format

the soundcard bit mode

 

Returns

the converted format

Since: 1.0.0


ags_audio_buffer_util_get_copy_mode ()

guint
ags_audio_buffer_util_get_copy_mode (guint destination_format,
                                     guint source_format);

Get copy mode for given destination and source format.

Parameters

destination_format

the destination buffer format

 

source_format

the source buffer format

 

Returns

the desired copy mode

Since: 1.0.0


ags_audio_buffer_util_clear_float ()

void
ags_audio_buffer_util_clear_float (float *buffer,
                                   guint channels,
                                   guint count);

Clears a buffer.

Parameters

buffer

the buffer to clear

 

channels

number of channels

 

count

count frames

 

Since: 1.0.0


ags_audio_buffer_util_clear_float32 ()

void
ags_audio_buffer_util_clear_float32 (Float32 *buffer,
                                     guint channels,
                                     guint count);

Clears a buffer.

Parameters

buffer

the buffer to clear

 

channels

number of channels

 

count

count frames

 

Since: 1.0.0


ags_audio_buffer_util_clear_double ()

void
ags_audio_buffer_util_clear_double (double *buffer,
                                    guint channels,
                                    guint count);

Clears a buffer.

Parameters

buffer

the buffer to clear

 

channels

number of channels

 

count

count frames

 

Since: 1.0.0


ags_audio_buffer_util_clear_buffer ()

void
ags_audio_buffer_util_clear_buffer (void *buffer,
                                    guint channels,
                                    guint count,
                                    guint format);

Clears the audio data.

Parameters

buffer

the audio data

 

channels

the number of channels

 

count

number of frames

 

format

the format

 

Since: 1.0.0


ags_audio_buffer_util_envelope_s8 ()

gdouble
ags_audio_buffer_util_envelope_s8 (signed char *buffer,
                                   guint channels,
                                   guint buffer_length,
                                   gdouble current_volume,
                                   gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_s16 ()

gdouble
ags_audio_buffer_util_envelope_s16 (signed short *buffer,
                                    guint channels,
                                    guint buffer_length,
                                    gdouble current_volume,
                                    gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_s24 ()

gdouble
ags_audio_buffer_util_envelope_s24 (signed long *buffer,
                                    guint channels,
                                    guint buffer_length,
                                    gdouble current_volume,
                                    gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_s32 ()

gdouble
ags_audio_buffer_util_envelope_s32 (signed long *buffer,
                                    guint channels,
                                    guint buffer_length,
                                    gdouble current_volume,
                                    gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_s64 ()

gdouble
ags_audio_buffer_util_envelope_s64 (signed long long *buffer,
                                    guint channels,
                                    guint buffer_length,
                                    gdouble current_volume,
                                    gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_float ()

gdouble
ags_audio_buffer_util_envelope_float (float *buffer,
                                      guint channels,
                                      guint buffer_length,
                                      gdouble current_volume,
                                      gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope_double ()

gdouble
ags_audio_buffer_util_envelope_double (double *buffer,
                                       guint channels,
                                       guint buffer_length,
                                       gdouble current_volume,
                                       gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_envelope ()

gdouble
ags_audio_buffer_util_envelope (void *buffer,
                                guint channels,
                                guint format,
                                guint buffer_length,
                                gdouble current_volume,
                                gdouble ratio);

Envelope buffer at ratio .

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

format

the format to use

 

buffer_length

the buffer's length

 

current_volume

current volume

 

ratio

the amount to increment

 

Returns

the last volume used

Since: 1.0.0


ags_audio_buffer_util_volume_s8 ()

void
ags_audio_buffer_util_volume_s8 (signed char *buffer,
                                 guint channels,
                                 guint buffer_length,
                                 gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_s16 ()

void
ags_audio_buffer_util_volume_s16 (signed short *buffer,
                                  guint channels,
                                  guint buffer_length,
                                  gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_s24 ()

void
ags_audio_buffer_util_volume_s24 (signed long *buffer,
                                  guint channels,
                                  guint buffer_length,
                                  gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_s32 ()

void
ags_audio_buffer_util_volume_s32 (signed long *buffer,
                                  guint channels,
                                  guint buffer_length,
                                  gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_s64 ()

void
ags_audio_buffer_util_volume_s64 (signed long long *buffer,
                                  guint channels,
                                  guint buffer_length,
                                  gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_float ()

void
ags_audio_buffer_util_volume_float (float *buffer,
                                    guint channels,
                                    guint buffer_length,
                                    gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume_double ()

void
ags_audio_buffer_util_volume_double (double *buffer,
                                     guint channels,
                                     guint buffer_length,
                                     gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_volume ()

void
ags_audio_buffer_util_volume (void *buffer,
                              guint channels,
                              guint format,
                              guint buffer_length,
                              gdouble volume);

Adjust volume of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

format

the format to use

 

buffer_length

the buffer's length

 

volume

volume

 

Since: 1.0.0


ags_audio_buffer_util_resample_s8 ()

signed char *
ags_audio_buffer_util_resample_s8 (signed char *buffer,
                                   guint channels,
                                   guint samplerate,
                                   guint buffer_length,
                                   guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_s16 ()

signed short *
ags_audio_buffer_util_resample_s16 (signed short *buffer,
                                    guint channels,
                                    guint samplerate,
                                    guint buffer_length,
                                    guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_s24 ()

signed long *
ags_audio_buffer_util_resample_s24 (signed long *buffer,
                                    guint channels,
                                    guint samplerate,
                                    guint buffer_length,
                                    guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_s32 ()

signed long *
ags_audio_buffer_util_resample_s32 (signed long *buffer,
                                    guint channels,
                                    guint samplerate,
                                    guint buffer_length,
                                    guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_s64 ()

signed long long *
ags_audio_buffer_util_resample_s64 (signed long long *buffer,
                                    guint channels,
                                    guint samplerate,
                                    guint buffer_length,
                                    guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_float ()

float *
ags_audio_buffer_util_resample_float (float *buffer,
                                      guint channels,
                                      guint samplerate,
                                      guint buffer_length,
                                      guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample_double ()

double *
ags_audio_buffer_util_resample_double (double *buffer,
                                       guint channels,
                                       guint samplerate,
                                       guint buffer_length,
                                       guint target_samplerate);

Resamples buffer from samplerate to target_samplerate .

Parameters

buffer

the audio buffer

 

samplerate

the current samplerate

 

channels

number of audio channels

 

buffer_length

the buffer's length

 

target_samplerate

the samplerate to use

 

Returns

the resampled audio buffer

Since: 1.0.0


ags_audio_buffer_util_resample ()

void *
ags_audio_buffer_util_resample (void *buffer,
                                guint channels,
                                guint format,
                                guint samplerate,
                                guint buffer_length,
                                guint target_samplerate);

ags_audio_buffer_util_peak_s8 ()

gdouble
ags_audio_buffer_util_peak_s8 (signed char *buffer,
                               guint channels,
                               guint buffer_length,
                               gdouble harmonic_rate,
                               gdouble max_rate,
                               gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_peak_s16 ()

gdouble
ags_audio_buffer_util_peak_s16 (signed short *buffer,
                                guint channels,
                                guint buffer_length,
                                gdouble harmonic_rate,
                                gdouble max_rate,
                                gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_peak_s24 ()

gdouble
ags_audio_buffer_util_peak_s24 (signed long *buffer,
                                guint channels,
                                guint buffer_length,
                                gdouble harmonic_rate,
                                gdouble max_rate,
                                gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_peak_s32 ()

gdouble
ags_audio_buffer_util_peak_s32 (signed long *buffer,
                                guint channels,
                                guint buffer_length,
                                gdouble harmonic_rate,
                                gdouble max_rate,
                                gdouble pressure_factor);

ags_audio_buffer_util_peak_s64 ()

gdouble
ags_audio_buffer_util_peak_s64 (signed long long *buffer,
                                guint channels,
                                guint buffer_length,
                                gdouble harmonic_rate,
                                gdouble max_rate,
                                gdouble pressure_factor);

ags_audio_buffer_util_peak_float ()

gdouble
ags_audio_buffer_util_peak_float (float *buffer,
                                  guint channels,
                                  guint buffer_length,
                                  gdouble harmonic_rate,
                                  gdouble max_rate,
                                  gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_peak_double ()

gdouble
ags_audio_buffer_util_peak_double (double *buffer,
                                   guint channels,
                                   guint buffer_length,
                                   gdouble harmonic_rate,
                                   gdouble max_rate,
                                   gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_peak ()

gdouble
ags_audio_buffer_util_peak (void *buffer,
                            guint channels,
                            guint format,
                            guint buffer_length,
                            gdouble harmonic_rate,
                            gdouble max_rate,
                            gdouble pressure_factor);

Retrive peak of buffer.

Parameters

buffer

the audio buffer

 

channels

number of audio channels

 

format

the format to use

 

buffer_length

the buffer length

 

harmonic_rate

the harmonic rate

 

max_rate

the max rate

 

pressure_factor

the pressure factor

 

Returns

the peak as gdouble

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_s8 ()

void
ags_audio_buffer_util_copy_s8_to_s8 (signed char *destination,
                                     guint dchannels,
                                     signed char *source,
                                     guint schannels,
                                     guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_s16 ()

void
ags_audio_buffer_util_copy_s8_to_s16 (signed short *destination,
                                      guint dchannels,
                                      signed char *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_s24 ()

void
ags_audio_buffer_util_copy_s8_to_s24 (signed long *destination,
                                      guint dchannels,
                                      signed char *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_s32 ()

void
ags_audio_buffer_util_copy_s8_to_s32 (signed long *destination,
                                      guint dchannels,
                                      signed char *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_s64 ()

void
ags_audio_buffer_util_copy_s8_to_s64 (signed long long *destination,
                                      guint dchannels,
                                      signed char *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_float ()

void
ags_audio_buffer_util_copy_s8_to_float
                               (float *destination,
                                guint dchannels,
                                signed char *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_double ()

void
ags_audio_buffer_util_copy_s8_to_double
                               (double *destination,
                                guint dchannels,
                                signed char *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_s8 ()

void
ags_audio_buffer_util_copy_s16_to_s8 (signed char *destination,
                                      guint dchannels,
                                      signed short *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_s16 ()

void
ags_audio_buffer_util_copy_s16_to_s16 (signed short *destination,
                                       guint dchannels,
                                       signed short *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_s24 ()

void
ags_audio_buffer_util_copy_s16_to_s24 (signed long *destination,
                                       guint dchannels,
                                       signed short *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_s32 ()

void
ags_audio_buffer_util_copy_s16_to_s32 (signed long *destination,
                                       guint dchannels,
                                       signed short *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_s64 ()

void
ags_audio_buffer_util_copy_s16_to_s64 (signed long long *destination,
                                       guint dchannels,
                                       signed short *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_float ()

void
ags_audio_buffer_util_copy_s16_to_float
                               (float *destination,
                                guint dchannels,
                                signed short *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_double ()

void
ags_audio_buffer_util_copy_s16_to_double
                               (double *destination,
                                guint dchannels,
                                signed short *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_s8 ()

void
ags_audio_buffer_util_copy_s24_to_s8 (signed char *destination,
                                      guint dchannels,
                                      signed long *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_s16 ()

void
ags_audio_buffer_util_copy_s24_to_s16 (signed short *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_s24 ()

void
ags_audio_buffer_util_copy_s24_to_s24 (signed long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_s32 ()

void
ags_audio_buffer_util_copy_s24_to_s32 (signed long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_s64 ()

void
ags_audio_buffer_util_copy_s24_to_s64 (signed long long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_float ()

void
ags_audio_buffer_util_copy_s24_to_float
                               (float *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_double ()

void
ags_audio_buffer_util_copy_s24_to_double
                               (double *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_s8 ()

void
ags_audio_buffer_util_copy_s32_to_s8 (signed char *destination,
                                      guint dchannels,
                                      signed long *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_s16 ()

void
ags_audio_buffer_util_copy_s32_to_s16 (signed short *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_s24 ()

void
ags_audio_buffer_util_copy_s32_to_s24 (signed long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_s32 ()

void
ags_audio_buffer_util_copy_s32_to_s32 (signed long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_s64 ()

void
ags_audio_buffer_util_copy_s32_to_s64 (signed long long *destination,
                                       guint dchannels,
                                       signed long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_float ()

void
ags_audio_buffer_util_copy_s32_to_float
                               (float *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_double ()

void
ags_audio_buffer_util_copy_s32_to_double
                               (double *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_s8 ()

void
ags_audio_buffer_util_copy_s64_to_s8 (signed char *destination,
                                      guint dchannels,
                                      signed long long *source,
                                      guint schannels,
                                      guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_s16 ()

void
ags_audio_buffer_util_copy_s64_to_s16 (signed short *destination,
                                       guint dchannels,
                                       signed long long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_s24 ()

void
ags_audio_buffer_util_copy_s64_to_s24 (signed long *destination,
                                       guint dchannels,
                                       signed long long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_s32 ()

void
ags_audio_buffer_util_copy_s64_to_s32 (signed long *destination,
                                       guint dchannels,
                                       signed long long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_s64 ()

void
ags_audio_buffer_util_copy_s64_to_s64 (signed long long *destination,
                                       guint dchannels,
                                       signed long long *source,
                                       guint schannels,
                                       guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_float ()

void
ags_audio_buffer_util_copy_s64_to_float
                               (float *destination,
                                guint dchannels,
                                signed long long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_double ()

void
ags_audio_buffer_util_copy_s64_to_double
                               (double *destination,
                                guint dchannels,
                                signed long long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_s8 ()

void
ags_audio_buffer_util_copy_float_to_s8
                               (signed char *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_s16 ()

void
ags_audio_buffer_util_copy_float_to_s16
                               (signed short *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_s24 ()

void
ags_audio_buffer_util_copy_float_to_s24
                               (signed long *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_s32 ()

void
ags_audio_buffer_util_copy_float_to_s32
                               (signed long *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_s64 ()

void
ags_audio_buffer_util_copy_float_to_s64
                               (signed long long *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_float ()

void
ags_audio_buffer_util_copy_float_to_float
                               (float *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_float_to_double ()

void
ags_audio_buffer_util_copy_float_to_double
                               (double *destination,
                                guint dchannels,
                                float *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_s8 ()

void
ags_audio_buffer_util_copy_double_to_s8
                               (signed char *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_s16 ()

void
ags_audio_buffer_util_copy_double_to_s16
                               (signed short *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_s24 ()

void
ags_audio_buffer_util_copy_double_to_s24
                               (signed long *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_s32 ()

void
ags_audio_buffer_util_copy_double_to_s32
                               (signed long *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_s64 ()

void
ags_audio_buffer_util_copy_double_to_s64
                               (signed long long *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_float ()

void
ags_audio_buffer_util_copy_double_to_float
                               (float *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_double_to_double ()

void
ags_audio_buffer_util_copy_double_to_double
                               (double *destination,
                                guint dchannels,
                                double *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s8_to_float32 ()

void
ags_audio_buffer_util_copy_s8_to_float32
                               (Float32 *destination,
                                guint dchannels,
                                signed char *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s16_to_float32 ()

void
ags_audio_buffer_util_copy_s16_to_float32
                               (Float32 *destination,
                                guint dchannels,
                                signed short *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s24_to_float32 ()

void
ags_audio_buffer_util_copy_s24_to_float32
                               (Float32 *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s32_to_float32 ()

void
ags_audio_buffer_util_copy_s32_to_float32
                               (Float32 *destination,
                                guint dchannels,
                                signed long *source,
                                guint schannels,
                                guint count);

Copy audio data using additive strategy.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

source

source buffer

 

schannels

source buffer's count of channels

 

count

number of frames to copy

 

Since: 1.0.0


ags_audio_buffer_util_copy_s64_to_float32 ()

void
ags_audio_buffer_util_copy_s64_to_float32
                               (Float32 *destination,
                                guint dchannels,
                                signed long long *source,
                                guint schannels,
                                guint count);

ags_audio_buffer_util_copy_buffer_to_buffer ()

void
ags_audio_buffer_util_copy_buffer_to_buffer
                               (void *destination,
                                guint dchannels,
                                guint doffset,
                                void *source,
                                guint schannels,
                                guint soffset,
                                guint count,
                                guint mode);

Wrapper function to copy functions. Doing type conversion.

Parameters

destination

destination buffer

 

dchannels

destination buffer's count of channels

 

doffset

start frame of destination

 

source

source buffer

 

schannels

source buffer's count of channels

 

soffset

start frame of source

 

count

number of frames to copy

 

mode

specified type conversion as described

 

Since: 1.0.0

Types and Values

enum AgsAudioBufferUtilFormat

AgsAudioBufferUtilFormat specifies the audio data representation.

Members

AGS_AUDIO_BUFFER_UTIL_S8

signed 8 bit raw pcm

 

AGS_AUDIO_BUFFER_UTIL_S16

signed 16 bit raw pcm

 

AGS_AUDIO_BUFFER_UTIL_S24

signed 24 bit raw pcm

 

AGS_AUDIO_BUFFER_UTIL_S32

signed 32 bit raw pcm

 

AGS_AUDIO_BUFFER_UTIL_S64

signed 64 bit raw pcm

 

AGS_AUDIO_BUFFER_UTIL_FLOAT

signed float raw pcm

 

AGS_AUDIO_BUFFER_UTIL_DOUBLE

signed double raw pcm

 

AGS_AUDIO_BUFFER_UTIL_FLOAT32

signed float32 raw pcm

 

enum AgsAudioBufferUtilSamplerate

Some common samplerates in Hertz.

Members

AGS_AUDIO_BUFFER_UTIL_8000HZ

8000 Hz

 

AGS_AUDIO_BUFFER_UTIL_44100HZ

44100 Hz

 

AGS_AUDIO_BUFFER_UTIL_48000HZ

48000 Hz

 

AGS_AUDIO_BUFFER_UTIL_96000HZ

96000 Hz

 

AGS_AUDIO_BUFFER_UTIL_176400HZ

176400 Hz

 

AGS_AUDIO_BUFFER_UTIL_192000HZ

192000 Hz

 

AGS_AUDIO_BUFFER_UTIL_352800HZ

352800 Hz

 

AGS_AUDIO_BUFFER_UTIL_2822400HZ

2822400 Hz

 

AGS_AUDIO_BUFFER_UTIL_5644800HZ

5644800 Hz

 

enum AgsAudioBufferUtilCopyMode

Copy modes.

Members

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_S8

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S8

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_S16

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S16

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_S24

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S24

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_S32

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S32

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_S64

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S64

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_FLOAT

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_FLOAT

 

AGS_AUDIO_BUFFER_UTIL_COPY_DOUBLE_TO_DOUBLE

copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_DOUBLE

 

AGS_AUDIO_BUFFER_UTIL_COPY_S8_TO_FLOAT32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S16_TO_FLOAT32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S24_TO_FLOAT32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S32_TO_FLOAT32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32

 

AGS_AUDIO_BUFFER_UTIL_COPY_S64_TO_FLOAT32

copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32