aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/algorithm/interpolate.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-07-12 21:59:14 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2020-07-25 12:39:34 +1000
commit81b2b4fbe9cc9a7386f95a9fa87975860c9a1deb (patch)
tree1416cd7e9aee96ec40675078d16a8240d410d04b /src/audio_core/algorithm/interpolate.h
parentbcb6b4e5746b63174d26e028ce35dc614b1346d8 (diff)
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 ab1a31754e..d534077afe 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