]> code.delx.au - pulseaudio/commitdiff
Revert "device-restore: Make bools not be bit fields"
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 18 Aug 2011 08:04:33 +0000 (13:34 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 18 Aug 2011 08:04:48 +0000 (13:34 +0530)
This reverts commit ba163b8b23bcd72c35b028eb0b43c31a6ae1724d.

After discussion with Colin, decided that we don't want to do this
piecemeal -- need some discussion on the mailing-list and then we should
do this across the tree in one fell swoop post 1.0.

Conflicts:

src/modules/module-device-restore.c

src/modules/module-device-restore.c

index 6c5c27e8a130b83a5997f0629cc126b7332bf71b..914febe09ba45d489e8a0b632ccaa8938c419bcd 100644 (file)
@@ -93,10 +93,10 @@ struct userdata {
     pa_native_protocol *protocol;
     pa_idxset *subscribed;
 
-    pa_bool_t restore_volume;
-    pa_bool_t restore_muted;
-    pa_bool_t restore_port;
-    pa_bool_t restore_formats;
+    pa_bool_t restore_volume:1;
+    pa_bool_t restore_muted:1;
+    pa_bool_t restore_port:1;
+    pa_bool_t restore_formats:1;
 };
 
 /* Protocol extention commands */