Fix channel layout check in sine example
This commit is contained in:
parent
199305c413
commit
abe7fec0db
|
@ -117,7 +117,7 @@ impl Plugin for Sine {
|
|||
|
||||
fn accepts_bus_config(&self, config: &BusConfig) -> bool {
|
||||
// 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(
|
||||
|
|
Loading…
Reference in a new issue