device-restore: Split device restore database into two parts.
authorColin Guthrie <colin@mageia.org>
Wed, 24 Aug 2011 21:28:13 +0000 (22:28 +0100)
committerColin Guthrie <colin@mageia.org>
Mon, 29 Aug 2011 08:59:47 +0000 (09:59 +0100)
commit1ee97e57caf34576ba97cf3b6e7b51388442e3c2
treeecbac08b8b7f677bc924a8e8eb476960564cbd04
parentaf8d0a12e9bbb2a04ef30bf56f32e360a003ee66
device-restore: Split device restore database into two parts.

The device restore saves both the current port for a device, and the volume/mute/formats.
The latter three are really related to the device+port, not the device on it's own.

Thus we store just the port for a device in one key and the volume/mute/formats
under a different key that includes both the device and the port.
src/modules/module-device-restore.c