mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Remove redundant fields from PortInfo
This commit is contained in:
parent
d1a6d6e03f
commit
f12a5ffc80
5 changed files with 0 additions and 15 deletions
|
|
@ -310,8 +310,6 @@ spa_alsa_sink_node_port_set_format (SpaNode *node,
|
|||
}
|
||||
|
||||
if (this->have_format) {
|
||||
this->info.direction = direction;
|
||||
this->info.port_id = port_id;
|
||||
this->info.flags = SPA_PORT_INFO_FLAG_CAN_USE_BUFFERS |
|
||||
SPA_PORT_INFO_FLAG_LIVE;
|
||||
this->info.rate = this->rate;
|
||||
|
|
|
|||
|
|
@ -356,8 +356,6 @@ spa_alsa_source_node_port_set_format (SpaNode *node,
|
|||
}
|
||||
|
||||
if (this->have_format) {
|
||||
this->info.direction = direction;
|
||||
this->info.port_id = port_id;
|
||||
this->info.flags = SPA_PORT_INFO_FLAG_CAN_USE_BUFFERS |
|
||||
SPA_PORT_INFO_FLAG_LIVE;
|
||||
this->info.rate = this->rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue