Top |
guint
ags_audio_buffer_util_format_from_soundcard
(guint soundcard_format
);
Translate soundcard format to audio buffer util format.
Since: 0.7.45
guint ags_audio_buffer_util_get_copy_mode (guint destination_format
,guint source_format
);
Get copy mode for given destination and source format.
Since: 0.7.45
signed char * ags_audio_buffer_util_morph_s8 (signed char *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
signed short * ags_audio_buffer_util_morph_s16 (signed short *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
signed long * ags_audio_buffer_util_morph_s24 (signed long *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
signed long * ags_audio_buffer_util_morph_s32 (signed long *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
signed long long * ags_audio_buffer_util_morph_s64 (signed long long *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
float * ags_audio_buffer_util_morph_float (float *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
double * ags_audio_buffer_util_morph_double (double *buffer
,guint channels
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
void * ags_audio_buffer_util_morph (void *buffer
,guint channels
,guint format
,guint buffer_length
,guint morph_lookbehind
,AgsComplex *morph
);
signed char * ags_audio_buffer_util_resample_s8 (signed char *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
signed short * ags_audio_buffer_util_resample_s16 (signed short *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
signed long * ags_audio_buffer_util_resample_s24 (signed long *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
signed long * ags_audio_buffer_util_resample_s32 (signed long *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
signed long long * ags_audio_buffer_util_resample_s64 (signed long long *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
float * ags_audio_buffer_util_resample_float (float *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
double * ags_audio_buffer_util_resample_double (double *buffer
,guint channels
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
void * ags_audio_buffer_util_resample (void *buffer
,guint channels
,guint format
,guint samplerate
,guint buffer_length
,guint target_samplerate
);
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.45
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.
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: 0.7.0