stream-restore: Add in some variable sets that were missing from 9ffa93.

This broke the conversion of the stream-restore database from
previous versions.
This commit is contained in:
Colin Guthrie 2011-09-04 12:28:07 +02:00
parent 47c9d8cf92
commit e7b65d310d

View 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;
}