pipewire/spa/plugins/alsa
Arnaud Ferraris a39bfa4995 acp: make sure each port's priority is updated when switching profiles
UCM profiles can use the same ports, but with different priorities. One 
good example is a phone, having an earpiece and a speaker:
- the default profile will put a higher priority on the speaker
- the "voice call" profile will put a higher priority on the earpiece

When switching to the "voice call" profile, we want pipewire to take 
into account the priority change, so that the earpiece gets the highest 
priority and is selected by default.

As the ports have the same name in both profiles, we have a single 
instance of each port in memory, and therefore need to trigger a port 
update when the profile is changed, so that the priority set by the new 
profile is used.

Moreover, the UCM code updates only the priority inside the 
`pa_device_port` structure, so this commit also makes sure we reflect 
this value into the `acp_port` structure when enabling a device.
2021-01-05 14:34:43 +00:00
..
acp acp: make sure each port's priority is updated when switching profiles 2021-01-05 14:34:43 +00:00
mixer acp: update to latest 2021-01-05 10:08:31 +01:00
90-pipewire-alsa.rules acp: sync with pulseaudio 2020-12-17 12:04:18 +01:00
acp-tool.c acp: use properties for port type and available group 2020-10-28 11:48:24 +01:00
alsa-acp-device.c acp: add channel to string function 2020-12-28 13:27:34 +01:00
alsa-pcm-device.c alsa: reload alsa configuration 2020-11-05 10:00:25 +01:00
alsa-pcm-sink.c alsa: add option to configure period-size 2021-01-05 12:44:10 +01:00
alsa-pcm-source.c alsa: add option to configure period-size 2021-01-05 12:44:10 +01:00
alsa-pcm.c alsa: add option to configure period-size 2021-01-05 12:44:10 +01:00
alsa-pcm.h alsa: add option to configure period-size 2021-01-05 12:44:10 +01:00
alsa-seq-bridge.c alsa: rename seq-source -> seq-bridge 2020-12-18 11:28:31 +01:00
alsa-seq.c alsa: refactor dll code 2020-12-09 12:09:40 +01:00
alsa-seq.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
alsa-udev.c v4l2: add inotify support 2020-12-17 10:43:57 +01:00
alsa.c alsa-acp: Add libacp based card device 2020-07-06 12:20:09 +02:00
dll.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
meson.build alsa: rename seq-source -> seq-bridge 2020-12-18 11:28:31 +01:00
test-timer.c spa: Fix a compiler warning caused by unchecked read() 2020-12-24 17:54:32 +02:00