mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa: Clarify potentially confusing device port data field
The meaning of the code is unchanged here, but it is clearer that the PA_DEVICE_PORT_DATA field is a struct ucm_port pointer.
This commit is contained in:
parent
5071960bf3
commit
f506203fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -769,7 +769,7 @@ static void ucm_add_port_combination(
|
|||
pa_device_port_new_data_set_description(&port_data, desc);
|
||||
pa_device_port_new_data_set_direction(&port_data, is_sink ? PA_DIRECTION_OUTPUT : PA_DIRECTION_INPUT);
|
||||
|
||||
port = pa_device_port_new(core, &port_data, sizeof(ucm_port));
|
||||
port = pa_device_port_new(core, &port_data, sizeof(struct ucm_port *));
|
||||
pa_device_port_new_data_done(&port_data);
|
||||
|
||||
ucm_port = ucm_port_new(context->ucm, port, pdevices, num);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue