diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-07 17:56:33 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-07-27 19:25:48 +0400 |
commit | 2f096bb10e0584397a08b418fdfa7ecc862ebfa0 (patch) | |
tree | e132900b415acabd03821b44283c2b8a3d7c8a1f /libavresample/utils.c | |
parent | 79687079a97a039c325ab79d7a95920d800b791f (diff) |
lavr: add x86-optimized mixing functions
Adds optimized functions for mixing 3 through 8 input channels to 1 and 2
output channels in fltp or s16p format with flt coeffs.
Diffstat (limited to 'libavresample/utils.c')
-rw-r--r-- | libavresample/utils.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavresample/utils.c b/libavresample/utils.c index 1aca566282..89a82b9dda 100644 --- a/libavresample/utils.c +++ b/libavresample/utils.c @@ -246,9 +246,10 @@ static int handle_buffered_output(AVAudioResampleContext *avr, return 0; } -int avresample_convert(AVAudioResampleContext *avr, void **output, - int out_plane_size, int out_samples, void **input, - int in_plane_size, int in_samples) +int attribute_align_arg avresample_convert(AVAudioResampleContext *avr, + void **output, int out_plane_size, + int out_samples, void **input, + int in_plane_size, int in_samples) { AudioData input_buffer; AudioData output_buffer; |