Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkcgen <kcgen@users.noreply.github.com>2022-09-02 09:54:30 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-05 02:11:13 +0300
commit349300f6a043e60ab010d6124d441416334b2480 (patch)
tree264acdae8d8bc77a83cd39ca499b7dd7703beb11 /include
parent8730780d5bd1b1d32feabc41872d291fa30530ef (diff)
Clear the channel's resampler when disabling the channel
Diffstat (limited to 'include')
-rw-r--r--include/mixer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mixer.h b/include/mixer.h
index 106ffde1b..a17c376b9 100644
--- a/include/mixer.h
+++ b/include/mixer.h
@@ -242,6 +242,7 @@ private:
std::vector<float> &out);
void ConfigureResampler();
+ void ClearResampler();
void UpdateZOHUpsamplerState();
AudioFrame ApplyCrossfeed(const AudioFrame &frame) const;