1
0
Fork 0

Fix channel layout check in sine example

This commit is contained in:
Robbert van der Helm 2022-06-15 00:08:07 +02:00
parent 199305c413
commit abe7fec0db

View file

@ -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(