Changeset 82452 in vbox
- Timestamp:
- Dec 6, 2019 12:46:40 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135302
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r82450 r82452 4298 4298 * @param pDevIns The device instance. 4299 4299 * @param pThis The shared HDA device state. 4300 * @param pThis R3The ring-3 HDA device state.4300 * @param pThisCC The ring-3 HDA device state. 4301 4301 * @param uLUN The logical unit which is being detached. 4302 4302 * @param fFlags Flags, combination of the PDMDEVATT_FLAGS_* \#defines. … … 4648 4648 N_("HDA configuration error: failed to read debugging enabled flag as boolean")); 4649 4649 4650 rc = pHlp->pfnCFGMQueryStringDef(pCfg, "DebugPathOut", pThisCC->Dbg.szOutPath, sizeof(pThisCC->Dbg.szOutPath), 4651 VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH); 4650 rc = pHlp->pfnCFGMQueryStringAllocDef(pCfg, "DebugPathOut", &pThisCC->Dbg.pszOutPath, VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH); 4652 4651 if (RT_FAILURE(rc)) 4653 4652 return PDMDEV_SET_ERROR(pDevIns, rc, … … 4655 4654 4656 4655 if (pThisCC->Dbg.fEnabled) 4657 LogRel2(("HDA: Debug output will be saved to '%s'\n", pThisCC->Dbg. szOutPath));4656 LogRel2(("HDA: Debug output will be saved to '%s'\n", pThisCC->Dbg.pszOutPath)); 4658 4657 4659 4658 /* -
trunk/src/VBox/Devices/Audio/DevHDA.h
r82450 r82452 246 246 /** Path where to dump the debug output to. 247 247 * Defaults to VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH. */ 248 char szOutPath[RTPATH_MAX];248 R3PTRTYPE(char *) pszOutPath; 249 249 } Dbg; 250 250 } HDASTATER3; -
trunk/src/VBox/Devices/Audio/HDACodec.h
r82450 r82452 124 124 * 125 125 * @return VBox status code. 126 * @param p ThisCC The ring-3 HDA device state.126 * @param pDevIns The device instance. 127 127 * @param enmMixerCtl Mixer control to assign new stream to. 128 128 * @param pCfg Stream configuration for the new stream. … … 133 133 * 134 134 * @return VBox status code. 135 * @param p ThisCC The ring-3 HDA device state.135 * @param pDevIns The device instance. 136 136 * @param enmMixerCtl Mixer control to remove. 137 137 */ … … 142 142 * 143 143 * @return VBox status code. 144 * @param p ThisCC The ring-3 HDA device state.144 * @param pDevIns The device instance. 145 145 * @param enmMixerCtl Mixer control to set SD stream number and channel for. 146 146 * @param uSD SD stream number (number + 1) to set. Set to 0 for unassign. … … 152 152 * 153 153 * @return IPRT status code. 154 * @param p ThisCC The ring-3 HDA device state.154 * @param pDevIns The device instance. 155 155 * @param enmMixerCtl Mixer control to set volume for. 156 156 * @param pVol Pointer to volume data to set. -
trunk/src/VBox/Devices/Audio/HDAStream.cpp
r82450 r82452 35 35 #include "HDAStream.h" 36 36 37 38 37 #ifdef IN_RING3 /* whole file */ 38 39 39 40 40 /********************************************************************************************************************************* … … 103 103 RTStrPrintf(szFile, sizeof(szFile), "hdaStreamReadSD%RU8", uSD); 104 104 105 int rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg. szOutPath, szFile,105 int rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile, 106 106 0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE); 107 107 AssertRC(rc2); … … 116 116 RTStrPrintf(szFile, sizeof(szFile), "hdaDMARawReadSD%RU8", uSD); 117 117 118 rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg. szOutPath, szFile,118 rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile, 119 119 0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE); 120 120 AssertRC(rc2); … … 129 129 RTStrPrintf(szFile, sizeof(szFile), "hdaDMAReadMappedSD%RU8", uSD); 130 130 131 rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg. szOutPath, szFile,131 rc2 = DrvAudioHlpFileNameGet(szPath, sizeof(szPath), pThisCC->Dbg.pszOutPath, szFile, 132 132 0 /* uInst */, PDMAUDIOFILETYPE_WAV, PDMAUDIOFILENAME_FLAGS_NONE); 133 133 AssertRC(rc2);
Note:
See TracChangeset
for help on using the changeset viewer.