Remove now unused argument
This commit is contained in:
parent
a5c05b22fb
commit
ee62a45d0d
1 changed files with 4 additions and 4 deletions
|
@ -94,10 +94,10 @@ pub fn nih_export_standalone_with_args<P: Plugin, Args: IntoIterator<Item = Stri
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run_wrapper<P: Plugin, B: Backend>(backend: B, config: WrapperConfig) -> bool {
|
fn run_wrapper<P: Plugin, B: Backend>(backend: B, config: WrapperConfig) -> bool {
|
||||||
let wrapper = match Wrapper::<P, _>::new(backend, config.clone()) {
|
let wrapper = match Wrapper::<P, _>::new(backend, config) {
|
||||||
Ok(wrapper) => wrapper,
|
Ok(wrapper) => wrapper,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
print_error(err, &config);
|
print_error(err);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -106,13 +106,13 @@ fn run_wrapper<P: Plugin, B: Backend>(backend: B, config: WrapperConfig) -> bool
|
||||||
match wrapper.run() {
|
match wrapper.run() {
|
||||||
Ok(()) => true,
|
Ok(()) => true,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
print_error(err, &config);
|
print_error(err);
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn print_error(error: WrapperError, config: &WrapperConfig) {
|
fn print_error(error: WrapperError) {
|
||||||
match error {
|
match error {
|
||||||
WrapperError::IncompatibleConfig {
|
WrapperError::IncompatibleConfig {
|
||||||
input_channels,
|
input_channels,
|
||||||
|
|
Loading…
Add table
Reference in a new issue