When trying to build gain_egui I'm getting the following errors:
error[E0407]: method `track_info_updated` is not a member of trait `Plugin`
--> src\lib.rs:455:5
|
455 | / fn track_info_updated(&mut self, info: TrackInfo) {
456 | | if let Ok(mut track_info) = self.track_info.lock() {
457 | | *track_info = info;
458 | | }
459 | | }
| |_____^ not a member of trait `Plugin`
error[E0425]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:49:27
|
49 | track_info: Arc<Mutex<TrackInfo>>,
| ^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
17 | pub struct Gain<TrackInfo> {
| +++++++++++
error[E0425]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:455:44
|
455 | fn track_info_updated(&mut self, info: TrackInfo) {
| ^^^^^^^^^ not found in this scope
error[E0433]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:100:56
|
100 | track_info: Arc::new(std::sync::Mutex::new(TrackInfo::default())),
| ^^^^^^^^^ use of undeclared type `TrackInfo`
Some errors have detailed explanations: E0407, E0425, E0433.
For more information about an error, try `rustc --explain E0407`.
error: could not compile `gain_egui` (lib) due to 4 previous errors
Error: Could not build gain_egui
When trying to build [gain_egui](https://codeberg.org/RustAudio/nice-plug/src/branch/main/examples/gain_egui) I'm getting the following errors:
```
error[E0407]: method `track_info_updated` is not a member of trait `Plugin`
--> src\lib.rs:455:5
|
455 | / fn track_info_updated(&mut self, info: TrackInfo) {
456 | | if let Ok(mut track_info) = self.track_info.lock() {
457 | | *track_info = info;
458 | | }
459 | | }
| |_____^ not a member of trait `Plugin`
error[E0425]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:49:27
|
49 | track_info: Arc<Mutex<TrackInfo>>,
| ^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
17 | pub struct Gain<TrackInfo> {
| +++++++++++
error[E0425]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:455:44
|
455 | fn track_info_updated(&mut self, info: TrackInfo) {
| ^^^^^^^^^ not found in this scope
error[E0433]: cannot find type `TrackInfo` in this scope
--> src\lib.rs:100:56
|
100 | track_info: Arc::new(std::sync::Mutex::new(TrackInfo::default())),
| ^^^^^^^^^ use of undeclared type `TrackInfo`
Some errors have detailed explanations: E0407, E0425, E0433.
For more information about an error, try `rustc --explain E0407`.
error: could not compile `gain_egui` (lib) due to 4 previous errors
Error: Could not build gain_egui
```