Index: /trunk/src/VBox/Devices/Audio/dsoundaudio.c
===================================================================
--- /trunk/src/VBox/Devices/Audio/dsoundaudio.c	(revision 53394)
+++ /trunk/src/VBox/Devices/Audio/dsoundaudio.c	(revision 53395)
@@ -108,4 +108,5 @@
     LPDIRECTSOUNDBUFFER dsound_primary_buffer;
     audsettings_t settings;
+    RTUUID devguid_capture;
     LPCGUID devguidp_capture;
 } dsound;
@@ -1299,9 +1300,9 @@
 
     if (conf.device_guid_in) {
-        int rc = RTUuidFromStr(&devguid, conf.device_guid_in);
+        int rc = RTUuidFromStr(&s->devguid_capture, conf.device_guid_in);
         if (RT_FAILURE(rc)) {
             LogRel(("DSound: Could not parse DirectSound input device GUID\n"));
         }
-        s->devguidp_capture = (LPCGUID)&devguid;
+        s->devguidp_capture = (LPCGUID)&s->devguid_capture;
     } else {
         s->devguidp_capture = NULL;
