stream-restore: Add in some variable sets that were missing from 9ffa93.
authorColin Guthrie <colin@mageia.org>
Sun, 4 Sep 2011 10:28:07 +0000 (12:28 +0200)
committerColin Guthrie <colin@mageia.org>
Sun, 4 Sep 2011 10:28:07 +0000 (12:28 +0200)
This broke the conversion of the stream-restore database from
previous versions.

src/modules/module-stream-restore.c

index 506c5fc..22659df 100644 (file)
@@ -1078,6 +1078,14 @@ static struct entry* legacy_entry_read(struct userdata *u, pa_datum *data) {
     }
 
     e = entry_new();
+    e->muted_valid = le->muted_valid;
+    e->muted = le->muted;
+    e->volume_valid = le->volume_valid;
+    e->channel_map = le->channel_map;
+    e->volume = le->volume;
+    e->device_valid = le->device_valid;
+    e->device = pa_xstrdup(le->device);
+    e->card_valid = le->card_valid;
     e->card = pa_xstrdup(le->card);
     return e;
 }