Top |
#define AGS_AUDIO_BUFFER_UTIL_S16_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_S24_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_S32_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_S64_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_FLOAT_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_DOUBLE_TO_COMPLEX(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_S16(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_S24(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_S32(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_S64(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_FLOAT(x_val, x_retval)
#define AGS_AUDIO_BUFFER_UTIL_COMPLEX_TO_DOUBLE(x_val, x_retval)
AgsAudioBufferUtilFormat
ags_audio_buffer_util_format_from_soundcard
(AgsSoundcardFormat soundcard_format
);
Translate soundcard format to audio buffer util format.
Since: 3.0.0
AgsAudioBufferUtilCopyMode ags_audio_buffer_util_get_copy_mode (AgsAudioBufferUtilFormat destination_format
,AgsAudioBufferUtilFormat source_format
);
Get copy mode for given destination and source format.
Since: 3.0.0
void ags_audio_buffer_util_clear_float (gfloat *buffer
,guint channels
,guint count
);
Clears a buffer.
Since: 3.0.0
void ags_audio_buffer_util_clear_float32 (Float32 *buffer
,guint channels
,guint count
);
Clears a buffer.
Since: 3.0.0
void ags_audio_buffer_util_clear_double (gdouble *buffer
,guint channels
,guint count
);
Clears a buffer.
Since: 3.0.0
void ags_audio_buffer_util_clear_complex (AgsComplex *buffer
,guint channels
,guint count
);
Clears a buffer.
Since: 3.0.0
void ags_audio_buffer_util_clear_buffer (void *buffer
,guint channels
,guint count
,guint format
);
Clears the audio data.
buffer |
the audio data |
|
channels |
the number of channels |
|
count |
number of frames |
|
format |
the format |
Since: 3.0.0
void ags_audio_buffer_util_pong_s8 (gint8 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_s16 (gint16 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_s24 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_s32 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_s64 (gint64 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_float (gfloat *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_double (gdouble *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong_complex (AgsComplex *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
Since: 3.4.0
void ags_audio_buffer_util_pong (void *destination
,guint dchannels
,void *source
,guint schannels
,guint count
,guint format
);
Pingpong copy source
to destination
.
destination |
the destination |
|
dchannels |
the destination channels |
|
source |
the source |
|
schannels |
the source channels |
|
count |
the count of frames |
|
format |
the format |
Since: 3.4.0
void ags_audio_buffer_util_copy_s8_to_s8 (gint8 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_s16 (gint16 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_s24 (gint32 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_s32 (gint32 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_s64 (gint64 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_float (gfloat *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_double (gdouble *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_s8 (gint8 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_s16 (gint16 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_s24 (gint32 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_s32 (gint32 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_s64 (gint64 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_float (gfloat *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_double (gdouble *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_s8 (gint8 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_s16 (gint16 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_s24 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_s32 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_s64 (gint64 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_float (gfloat *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_double (gdouble *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_s8 (gint8 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_s16 (gint16 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_s24 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_s32 (gint32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_s64 (gint64 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_float (gfloat *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_double (gdouble *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_s8 (gint8 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_s16 (gint16 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_s24 (gint32 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_s32 (gint32 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_s64 (gint64 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_float (gfloat *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_double (gdouble *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_s8 (gint8 *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_s16 (gint16 *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_s24 (gint32 *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_s32 (gint32 *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_s64 (gint64 *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_float (gfloat *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_double (gdouble *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_s8 (gint8 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_s16 (gint16 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_s24 (gint32 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_s32 (gint32 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_s64 (gint64 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_float (gfloat *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_double (gdouble *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_float32 (Float32 *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_float32 (Float32 *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_float32 (Float32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_float32 (Float32 *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_float32 (Float32 *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_float32 (Float32 *destination
,guint dchannels
,float *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_float32 (Float32 *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_float32 (Float32 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_s8 (gint8 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_s16 (gint16 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_s24 (gint32 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_s32 (gint32 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_s64 (gint64 *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_float (gfloat *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_double (gdouble *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s8_to_complex (AgsComplex *destination
,guint dchannels
,gint8 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s16_to_complex (AgsComplex *destination
,guint dchannels
,gint16 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s24_to_complex (AgsComplex *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s32_to_complex (AgsComplex *destination
,guint dchannels
,gint32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_s64_to_complex (AgsComplex *destination
,guint dchannels
,gint64 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float_to_complex (AgsComplex *destination
,guint dchannels
,gfloat *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_double_to_complex (AgsComplex *destination
,guint dchannels
,gdouble *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_float32_to_complex (AgsComplex *destination
,guint dchannels
,Float32 *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_complex (AgsComplex *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_s8 (gint8 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_s16 (gint16 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_s24 (gint32 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_s32 (gint32 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_s64 (gint64 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_float (gfloat *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_double (gdouble *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_complex_to_float32 (Float32 *destination
,guint dchannels
,AgsComplex *source
,guint schannels
,guint count
);
Copy audio data using additive strategy.
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: 3.0.0
void ags_audio_buffer_util_copy_buffer_to_buffer (void *destination
,guint dchannels
,guint doffset
,void *source
,guint schannels
,guint soffset
,guint count
,AgsAudioBufferUtilCopyMode mode
);
Wrapper function to copy functions. Doing type conversion.
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: 3.0.0
AgsAudioBufferUtilFormat specifies the audio data representation.
Some common samplerates in Hertz.
Copy modes.
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_S8 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_S16 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_S24 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_S32 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_S64 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_DOUBLE to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_FLOAT32 to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_COMPLEX |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_S8 |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_S16 |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_S24 |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_S32 |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_S64 |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_FLOAT |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_DOUBLE |
||
copy AGS_AUDIO_BUFFER_UTIL_COMPLEX to AGS_AUDIO_BUFFER_UTIL_FLOAT32 |