mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
alsa: Don't use pa_strna() for port names
The name variable is never NULL, so there's no point in using pa_strna().
This commit is contained in:
parent
1fd79c4439
commit
a7567b78e3
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ static void ucm_add_port_combination(
|
|||
pa_device_port_new_data port_data;
|
||||
|
||||
pa_device_port_new_data_init(&port_data);
|
||||
pa_device_port_new_data_set_name(&port_data, pa_strna(name));
|
||||
pa_device_port_new_data_set_name(&port_data, name);
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue