Hi. Patches 1-4 are just small cleanup/preparation patches for patch no. 5. Patch 5 removes the event notifications from card-restore and replaces it with hooks as David suggested a couple of day ago. This changes a lot of the code in card-restore but the functionality should stay the same, that is users shouldn't notice any difference. Logging is a little more precise. We now print out what are the changes that we are actually storing (profile, latency offset, all of it...). Below is the diffstat. Thanks. src/modules/module-card-restore.c | 241 ++++++++++++++++++++++++++++++++++++++++++--------------- src/pulsecore/card.c | 10 ++- src/pulsecore/core.h | 1 + src/pulsecore/device-port.c | 26 +------ src/pulsecore/device-port.h | 2 + 5 files changed, 194 insertions(+), 86 deletions(-)