Hi. This is a patch series that should further prepare moving the sink volume to the ports.
This whole patch series addresses the issue that we can't restore anything for the ports if we don't know the card name that the port belongs to. The second patch is a bit questionable and mostly I need feedback on this patch. The other stuff should be quite straightforward. Thanks, poljar. poljar (Damir Jelić) (5): device-port: Allow setting the card name while creating a port. alsa-card/bluetooth-device: Set the card name while creating ports. device-port: Allow setting the latency offset during port creation. device-port: Fire a hook when creating a new port. card-restore: Restore the latency offset while creating the port. src/modules/alsa/alsa-mixer.c | 13 ++++++---- src/modules/alsa/alsa-mixer.h | 2 +- src/modules/alsa/alsa-ucm.c | 14 +++++++---- src/modules/alsa/alsa-ucm.h | 1 + src/modules/alsa/module-alsa-card.c | 12 ++++----- src/modules/bluetooth/module-bluetooth-device.c | 6 +++-- src/modules/module-card-restore.c | 33 ++++++++++++++++--------- src/pulsecore/core.h | 1 + src/pulsecore/device-port.c | 26 ++++++++++++++++++- src/pulsecore/device-port.h | 5 ++++ 10 files changed, 81 insertions(+), 32 deletions(-) -- 1.8.2.1 _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss