summaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-09-24 23:00:46 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-09-24 23:00:46 +0200
commit3f5fb1cc3de97244548538ec81dda3963f1b25c6 (patch)
tree32dbdba3c60eda6658fd341f38ba3bac10501fe0 /benches
parentc8c194bdfdca7c605bb6746a794bff3100161ec5 (diff)
Cleaned up transforms api
- made things that didn't need to be public hidden - renamed find fundamental function to remove correlation (there isn't an alternative anymore)
Diffstat (limited to 'benches')
-rw-r--r--benches/transforms.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/transforms.rs b/benches/transforms.rs
index 3a4b906..a6be9fd 100644
--- a/benches/transforms.rs
+++ b/benches/transforms.rs
@@ -28,7 +28,7 @@ fn bench_correlation_on_sine_wave(b: &mut Bencher) {
let samples = sample_sinusoud(1.0, frequency, 0.0);
b.iter(|| {
- rusty_microphone::transforms::find_fundamental_frequency_correlation(&samples, SAMPLE_RATE)
+ rusty_microphone::transforms::find_fundamental_frequency(&samples, SAMPLE_RATE)
})
}
benchmark_group!(transforms, bench_correlation_on_sine_wave);