aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/algorithm/interpolate.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-11 10:57:27 -0400
committerGitHub <noreply@github.com>2020-09-11 10:57:27 -0400
commit324029d4f9fd2381f474e608a2859360324161e5 (patch)
treed2dc348235f05f20686c526f7092590f596f65c2 /src/audio_core/algorithm/interpolate.h
parent03179ecafe8a5e9dedcab57f593f47ecc71b6877 (diff)
parent80ac1331b545d993aa7c205dc24f8b20a4d6d44e (diff)
Merge pull request #4310 from ogniK5377/apollo-1-prod
audio_core: Apollo Part 1, AudioRenderer refactor
Diffstat (limited to 'src/audio_core/algorithm/interpolate.h')
-rw-r--r--src/audio_core/algorithm/interpolate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_core/algorithm/interpolate.h b/src/audio_core/algorithm/interpolate.h
index ab1a31754..d534077af 100644
--- a/src/audio_core/algorithm/interpolate.h
+++ b/src/audio_core/algorithm/interpolate.h
@@ -38,4 +38,7 @@ inline std::vector<s16> Interpolate(InterpolationState& state, std::vector<s16>
return Interpolate(state, std::move(input), ratio);
}
+/// Nintendo Switchs DSP resampling algorithm. Based on a single channel
+void Resample(s32* output, const s32* input, s32 pitch, s32& fraction, std::size_t sample_count);
+
} // namespace AudioCore