Index: /trunk/src/VBox/Devices/Audio/DevHDA.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 82451)
+++ /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 82452)
@@ -4298,5 +4298,5 @@
  * @param   pDevIns     The device instance.
  * @param   pThis       The shared HDA device state.
- * @param   pThisR3     The ring-3 HDA device state.
+ * @param   pThisCC     The ring-3 HDA device state.
  * @param   uLUN        The logical unit which is being detached.
  * @param   fFlags      Flags, combination of the PDMDEVATT_FLAGS_* \#defines.
@@ -4648,6 +4648,5 @@
                                 N_("HDA configuration error: failed to read debugging enabled flag as boolean"));
 
-    rc = pHlp->pfnCFGMQueryStringDef(pCfg, "DebugPathOut", pThisCC->Dbg.szOutPath, sizeof(pThisCC->Dbg.szOutPath),
-                                     VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH);
+    rc = pHlp->pfnCFGMQueryStringAllocDef(pCfg, "DebugPathOut", &pThisCC->Dbg.pszOutPath, VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH);
     if (RT_FAILURE(rc))
         return PDMDEV_SET_ERROR(pDevIns, rc,
@@ -4655,5 +4654,5 @@
 
     if (pThisCC->Dbg.fEnabled)
-        LogRel2(("HDA: Debug output will be saved to '%s'\n", pThisCC->Dbg.szOutPath));
+        LogRel2(("HDA: Debug output will be saved to '%s'\n", pThisCC->Dbg.pszOutPath));
 
     /*
Index: /trunk/src/VBox/Devices/Audio/DevHDA.h
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevHDA.h	(revision 82451)
+++ /trunk/src/VBox/Devices/Audio/DevHDA.h	(revision 82452)
@@ -246,5 +246,5 @@
         /** Path where to dump the debug output to.
          *  Defaults to VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH. */
-        char                    szOutPath[RTPATH_MAX];
+        R3PTRTYPE(char *)       pszOutPath;
     } Dbg;
 } HDASTATER3;
Index: /trunk/src/VBox/Devices/Audio/HDACodec.h
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDACodec.h	(revision 82451)
+++ /trunk/src/VBox/Devices/Audio/HDACodec.h	(revision 82452)
@@ -124,5 +124,5 @@
      *
      * @return  VBox status code.
-     * @param   pThisCC             The ring-3 HDA device state.
+     * @param   pDevIns             The device instance.
      * @param   enmMixerCtl         Mixer control to assign new stream to.
      * @param   pCfg                Stream configuration for the new stream.
@@ -133,5 +133,5 @@
      *
      * @return  VBox status code.
-     * @param   pThisCC             The ring-3 HDA device state.
+     * @param   pDevIns             The device instance.
      * @param   enmMixerCtl         Mixer control to remove.
      */
@@ -142,5 +142,5 @@
      *
      * @return  VBox status code.
-     * @param   pThisCC             The ring-3 HDA device state.
+     * @param   pDevIns             The device instance.
      * @param   enmMixerCtl         Mixer control to set SD stream number and channel for.
      * @param   uSD                 SD stream number (number + 1) to set. Set to 0 for unassign.
@@ -152,5 +152,5 @@
      *
      * @return  IPRT status code.
-     * @param   pThisCC             The ring-3 HDA device state.
+     * @param   pDevIns             The device instance.
      * @param   enmMixerCtl         Mixer control to set volume for.
      * @param   pVol                Pointer to volume data to set.
Index: /trunk/src/VBox/Devices/Audio/HDAStream.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDAStream.cpp	(revision 82451)
+++ /trunk/src/VBox/Devices/Audio/HDAStream.cpp	(revision 82452)
@@ -35,6 +35,6 @@
 #include "HDAStream.h"
 
-
 #ifdef IN_RING3 /* whole file */
+
 
 /*********************************************************************************************************************************
@@ -103,5 +103,5 @@
             RTStrPrintf(szFile, sizeof(szFile), "hdaStreamReadSD%RU8", uSD);
 
-        int rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.szOutPath, szFile,
+        int rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile,
                                          0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE);
         AssertRC(rc2);
@@ -116,5 +116,5 @@
             RTStrPrintf(szFile, sizeof(szFile), "hdaDMARawReadSD%RU8", uSD);
 
-        rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.szOutPath, szFile,
+        rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile,
                                      0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE);
         AssertRC(rc2);
@@ -129,5 +129,5 @@
             RTStrPrintf(szFile, sizeof(szFile), "hdaDMAReadMappedSD%RU8", uSD);
 
-        rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.szOutPath, szFile,
+        rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile,
                                      0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE);
         AssertRC(rc2);
