Closed kazuoteramoto closed 3 years ago
Currently the port names are always Input/Output, no matter the number of ports.
Input
Output
For example, in a stereo plugin we have:
Ports: "Input" input, audio "Input" input, audio "Output" output, audio "Output" output, audio
This behavior make referencing the ports hard. For example pipewire module-filter-chain use the name of the port to create the links.
pipewire
module-filter-chain
This commit change the port name to have a incremental number after the name, for the example given, this will be the new names:
Ports: "Input0" input, audio "Input1" input, audio "Output0" output, audio "Output1" output, audio
This make references by name easier.
Good idea, thanks.
Currently the port names are always
Input
/Output
, no matter the number of ports.For example, in a stereo plugin we have:
This behavior make referencing the ports hard. For example
pipewire
module-filter-chain
use the name of the port to create the links.This commit change the port name to have a incremental number after the name, for the example given, this will be the new names:
This make references by name easier.