summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-29 00:53:38 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-29 00:53:38 +0100
commitd6b6506e1d517e7ee18ad154e03a311c96f3e542 (patch)
tree7499a63d5527331e4436201ed7d6fde0cf61f98b /source
parent2dab66694bb72ee222a44c49c669e9f5adc024f0 (diff)
downloadsaw-d6b6506e1d517e7ee18ad154e03a311c96f3e542.zip
Don't set base frequency when loading sample
Diffstat (limited to 'source')
-rw-r--r--source/saw/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index 9462d73..4ce9153 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -1831,8 +1831,6 @@ static void saw_ui_sampler(saw_sampler_t *sampler, i64 x0, i64 y0,
assert(k >= 0 && k + 1 < sampler->data.size);
sampler->outline.values[i] = fabs(v[k] + v[k + 1]) * .5;
}
-
- sampler->base_frequency = 440.;
} while (0);
ma_decoder_uninit(&decoder);