pipewire/spa/plugins
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
..
alsa acp: make sure each port's priority is updated when switching profiles 2021-01-05 14:34:43 +00:00
audioconvert tests: fix some leaks 2020-12-21 20:07:02 +01:00
audiomixer audiomixer: fix array sizes 2020-12-21 19:34:55 +01:00
audiotestsrc audiotestsrc: fix function signature 2020-05-12 17:23:35 +02:00
bluez5 sco-source: don't crash in do_stop if transport disappeared 2021-01-05 00:31:36 +02:00
control tweak buffers a little 2020-02-19 10:17:00 +01:00
ffmpeg ffmpeg: fix install dir 2020-01-30 17:50:45 +01:00
jack profile: refactor code to make EnumProfile and Profile params 2020-08-17 11:08:26 +02:00
libcamera libcamera: delete the camera on error 2020-11-24 09:25:07 +01:00
support loop: align buffer and invoke_items to 8 bytes 2020-12-21 20:46:13 +01:00
test improve debug 2020-04-22 12:47:18 +02:00
v4l2 v4l2: profiles params are not implement yet 2020-12-17 16:13:19 +01:00
videoconvert Improve naming 2020-08-06 13:49:33 +02:00
videotestsrc improve debug 2020-04-22 12:47:18 +02:00
volume improve debug 2020-04-22 12:47:18 +02:00
vulkan vulkan: check results of stat 2020-05-20 15:24:25 +02:00
meson.build Integrating libcamera 2020-06-04 10:36:39 +02:00