2 Copyright (C) 2015 Paul Davis
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #include "ardour/mix.h"
23 x86_sse_avx_compute_peak (const float * buf, uint32_t nsamples, float current)
25 return default_compute_peak (buf, nsamples, current);
29 x86_sse_avx_apply_gain_to_buffer (float * buf, uint32_t nframes, float gain)
31 default_apply_gain_to_buffer (buf, nframes, gain);
35 x86_sse_avx_mix_buffers_with_gain (float * dst, const float * src, uint32_t nframes, float gain)
37 default_mix_buffers_with_gain (dst, src, nframes, gain);
41 x86_sse_avx_mix_buffers_no_gain (float * dst, const float * src, uint32_t nframes)
43 default_mix_buffers_no_gain (dst, src, nframes);
47 x86_sse_avx_copy_vector (float * dst, const float * src, uint32_t nframes)
49 default_copy_vector (dst, src, nframes);
53 x86_sse_avx_find_peaks (const float * buf, uint32_t nsamples, float *min, float *max)
55 default_find_peaks (buf, nsamples, min, max);