Changeset 73393 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 30, 2018 12:10:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r73383 r73393 117 117 PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 118 118 { 119 RT_NOREF(pDrv, pStreamDbg, pCfgReq); 120 121 if (pCfgAcq) 122 { 123 pCfgAcq->Backend.cfPeriod = DrvAudioHlpMsToFrames(1000 /* ms */, &pCfgReq->Props); 124 pCfgAcq->Backend.cfBufferSize = pCfgAcq->Backend.cfPeriod * 2; /* Use "double buffering". */ 125 } 119 RT_NOREF(pDrv, pStreamDbg, pCfgReq, pCfgAcq); 126 120 127 121 return VINF_SUCCESS; … … 132 126 PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 133 127 { 134 RT_NOREF(pDrv );128 RT_NOREF(pDrv, pCfgAcq); 135 129 136 130 char szTemp[RTPATH_MAX]; … … 158 152 else 159 153 LogRel(("DebugAudio: Unable to retrieve temp dir: %Rrc\n", rc)); 160 161 if (RT_SUCCESS(rc))162 {163 if (pCfgAcq)164 {165 pCfgAcq->Backend.cfPeriod = DrvAudioHlpMsToFrames(50 /* ms */, &pCfgReq->Props);166 pCfgAcq->Backend.cfBufferSize = pCfgAcq->Backend.cfPeriod * 2; /* Use "double buffering". */167 }168 }169 154 170 155 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.