From b242bdf9458642201bab4f1f884556ef73051554 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 25 Apr 2016 08:54:57 +0100 Subject: DSP/HLE: Implement Source processing --- src/audio_core/hle/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio_core/hle/common.h') diff --git a/src/audio_core/hle/common.h b/src/audio_core/hle/common.h index 7910f42ae..596b67eaf 100644 --- a/src/audio_core/hle/common.h +++ b/src/audio_core/hle/common.h @@ -27,7 +27,7 @@ using QuadFrame32 = std::array, samples_per_frame>; */ template void FilterFrame(FrameT& frame, FilterT& filter) { - std::transform(frame.begin(), frame.end(), frame.begin(), [&filter](const typename FrameT::value_type& sample) { + std::transform(frame.begin(), frame.end(), frame.begin(), [&filter](const auto& sample) { return filter.ProcessSample(sample); }); } -- cgit v1.2.3