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:
authorJohn Novak <jnovak@skedulo.com>2022-08-30 02:18:55 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-08 18:55:05 +0300
commit01206d188e1efc9beedea8b3335d152ca7b2ab77 (patch)
treebb4fc6940071592529e72c150f041ea9da9d4bce /include
parentf5b29defd8735284ee78e901372c49654e37dbf2 (diff)
Refactor mixer to use resample_method and retire do_zoh_upsampler
Diffstat (limited to 'include')
-rw-r--r--include/mixer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mixer.h b/include/mixer.h
index 7652d791e..65f5753fb 100644
--- a/include/mixer.h
+++ b/include/mixer.h
@@ -303,7 +303,7 @@ private:
bool last_samples_were_silence = true;
-
+ ResampleMethod resample_method = {};
struct {
SpeexResamplerState *state = nullptr;
@@ -315,7 +315,6 @@ private:
float pos = 0.0f;
float step = 0.0f;
} zoh_upsampler = {};
- bool do_zoh_upsample = false;
struct {
struct {