Index: /trunk/src/VBox/Devices/Audio/dsoundaudio.c
===================================================================
--- /trunk/src/VBox/Devices/Audio/dsoundaudio.c	(revision 53393)
+++ /trunk/src/VBox/Devices/Audio/dsoundaudio.c	(revision 53394)
@@ -108,5 +108,4 @@
     LPDIRECTSOUNDBUFFER dsound_primary_buffer;
     audsettings_t settings;
-    LPCGUID devguidp;
     LPCGUID devguidp_capture;
 } dsound;
@@ -472,5 +471,10 @@
         hr = IDirectSoundCapture_Initialize (s->dsound_capture, s->devguidp_capture);
         if (FAILED (hr)) {
-            DSLOGREL(("DSound: DirectSoundCapture initialize %Rhrc\n", hr));
+            if (hr == DSERR_NODRIVER) {
+                DSLOGREL(("DSound: DirectSoundCapture not available\n"));
+            }
+            else {
+                DSLOGREL(("DSound: DirectSoundCapture initialize %Rhrc\n", hr));
+            }
             dsoundCaptureInterfaceRelease (s);
         }
@@ -1299,7 +1303,7 @@
             LogRel(("DSound: Could not parse DirectSound input device GUID\n"));
         }
-        s->devguidp = (LPCGUID)&devguid;
+        s->devguidp_capture = (LPCGUID)&devguid;
     } else {
-        s->devguidp = NULL;
+        s->devguidp_capture = NULL;
     }
 
