Changes since v2: * Added patch to simplify version handling in module-card-restore * Don't fill input/output_name for non-auto-profile cases * Changed comment for input/output_name David Henningsson (8): card: Add variables for splitting up a profile alsa-mixer: Fill in input and output names device-port: Add preferred_profile field to pa_device_port card: Update preferred_profile for ports when profile changes card-restore: Save and restore "preferred profile" of port module-switch-on-port-available: Use input and output names module-switch-on-port-available: Route to preferred profile module-card-restore: Remove "version" from internal entry struct src/modules/alsa/alsa-mixer.c | 8 +- src/modules/alsa/alsa-mixer.h | 3 + src/modules/alsa/module-alsa-card.c | 2 + src/modules/module-card-restore.c | 58 +++++++-- src/modules/module-switch-on-port-available.c | 179 ++++++++++++++++---------- src/pulsecore/card.c | 20 +++ src/pulsecore/card.h | 8 ++ src/pulsecore/device-port.c | 11 ++ src/pulsecore/device-port.h | 2 + 9 files changed, 212 insertions(+), 79 deletions(-) -- 1.9.1