Fix channel layout check in sine example
This commit is contained in:
parent
199305c413
commit
abe7fec0db
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ impl Plugin for Sine {
|
||||||
|
|
||||||
fn accepts_bus_config(&self, config: &BusConfig) -> bool {
|
fn accepts_bus_config(&self, config: &BusConfig) -> bool {
|
||||||
// This can output to any number of channels, but it doesn't take any audio inputs
|
// This can output to any number of channels, but it doesn't take any audio inputs
|
||||||
config.num_input_channels == 0 && config.num_input_channels > 0
|
config.num_input_channels == 0 && config.num_output_channels > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
fn initialize(
|
fn initialize(
|
||||||
|
|
Loading…
Add table
Reference in a new issue