[pulseaudio-discuss] [PATCH] stream-restore: add version to new entry.

Tanu Kaskinen tanu.kaskinen at digia.com
Tue Apr 5 01:58:01 PDT 2011


From: Harri Mähönen <ext-harri.mahonen at nokia.com>

---
 src/modules/module-stream-restore.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c
index 8edfee0..d27982b 100644
--- a/src/modules/module-stream-restore.c
+++ b/src/modules/module-stream-restore.c
@@ -650,6 +650,7 @@ static void handle_add_entry(DBusConnection *conn, DBusMessage *msg, void *userd
         pa_assert_se(pa_hashmap_put(u->dbus_entries, dbus_entry->entry_name, dbus_entry) == 0);
 
         e = pa_xnew0(struct entry, 1);
+        e->version = ENTRY_VERSION;
         e->muted_valid = TRUE;
         e->volume_valid = !!map.channels;
         e->device_valid = !!device[0];
-- 
1.7.4.2




More information about the pulseaudio-discuss mailing list