Changeset 91425 in vbox for trunk/src/VBox
- Timestamp:
- Sep 28, 2021 7:55:15 AM (3 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp
r89510 r91425 2858 2858 LogRel(("CoreAudio: Failed to add the output default device changed listener: %d (%#x)\n", orc, orc)); 2859 2859 2860 /*2861 * Cleanup debug dumps from previous run.2862 */2863 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH2864 RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "caConverterCbInput.pcm");2865 RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "caPlayback.pcm");2866 #endif2867 2868 2860 LogFlowFuncLeaveRC(rc); 2869 2861 return rc; … … 2921 2913 PDM_DRVREG_VERSION 2922 2914 }; 2923 -
trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp
r91020 r91425 2610 2610 } 2611 2611 2612 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH2613 if (cbRead)2614 {2615 RTFILE hFile;2616 int rc2 = RTFileOpen(&hFile, VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "dsoundCapture.pcm",2617 RTFILE_O_OPEN_CREATE | RTFILE_O_APPEND | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);2618 if (RT_SUCCESS(rc2))2619 {2620 RTFileWrite(hFile, (uint8_t *)pvBuf - cbRead, cbRead, NULL);2621 RTFileClose(hFile);2622 }2623 }2624 #endif2625 2612 return VINF_SUCCESS; 2626 2613 } -
trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp
r90012 r91425 345 345 pThis->IHostAudio.pfnStreamCapture = drvHstAudDebugHA_StreamCapture; 346 346 347 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH348 RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "AudioDebugOutput.pcm");349 #endif350 351 347 return VINF_SUCCESS; 352 348 } … … 402 398 PDM_DRVREG_VERSION 403 399 }; 404
Note:
See TracChangeset
for help on using the changeset viewer.