audioconvert: use some defines for the max ports

This commit is contained in:
Wim Taymans 2020-12-09 20:32:44 +01:00
parent 606d48a3e8
commit 7d73f0b8d0
7 changed files with 16 additions and 10 deletions

View file

@ -994,6 +994,8 @@ impl_init(const struct spa_handle_factory *factory,
this->info = SPA_NODE_INFO_INIT();
this->info_all = SPA_NODE_CHANGE_MASK_FLAGS;
this->info.max_input_ports = 1;
this->info.max_output_ports = 1;
this->info.flags = SPA_NODE_FLAG_RT;
port = GET_OUT_PORT(this, 0);