You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On nightly, a "cargo test" yields the following errors:
error[E0308]: mismatched types
--> src/effects/tuner.rs:185:32
|
185 | let tuner = Tuner::new(sampling_rate, length);
| ^^^^^^^^^^^^^ expected usize, found f32
error[E0599]: no method named `tune` found for type `effects::tuner::Tuner` in the current scope
--> src/effects/tuner.rs:187:26
|
12 | pub struct Tuner {
| ---------------- method `tune` not found for this
...
187 | let note = tuner.tune();
| ^^^^
error: aborting due to 2 previous errors
The first one was easy to fix, as shown in the following patch:
The second, I'm not sure if there is a "tuner.tune()" equivalent, anymore. It sems the tuner doesn't have the calculate_spectrum or tune functions, and then has no equivalent functtion that returns a simple note.
The text was updated successfully, but these errors were encountered:
On nightly, a "cargo test" yields the following errors:
The first one was easy to fix, as shown in the following patch:
The second, I'm not sure if there is a "tuner.tune()" equivalent, anymore. It sems the tuner doesn't have the calculate_spectrum or tune functions, and then has no equivalent functtion that returns a simple note.
The text was updated successfully, but these errors were encountered: