mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
device-port: add type member
The clients might wanna to know for which purpose is the port. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
861836c5f7
commit
feee531c2b
9 changed files with 77 additions and 10 deletions
|
|
@ -635,6 +635,7 @@ static pa_device_port *raop_create_port(struct userdata *u, const char *server)
|
|||
pa_device_port_new_data_set_name(&data, "network-output");
|
||||
pa_device_port_new_data_set_description(&data, server);
|
||||
pa_device_port_new_data_set_direction(&data, PA_DIRECTION_OUTPUT);
|
||||
pa_device_port_new_data_set_type(&data, PA_DEVICE_PORT_TYPE_NETWORK);
|
||||
|
||||
port = pa_device_port_new(u->core, &data, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue