diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-02-29 00:53:38 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-02-29 00:53:38 +0100 |
commit | d6b6506e1d517e7ee18ad154e03a311c96f3e542 (patch) | |
tree | 7499a63d5527331e4436201ed7d6fde0cf61f98b | |
parent | 2dab66694bb72ee222a44c49c669e9f5adc024f0 (diff) | |
download | saw-d6b6506e1d517e7ee18ad154e03a311c96f3e542.zip |
Don't set base frequency when loading sample
-rw-r--r-- | source/saw/main.c | 2 |
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); |