VirtualBox

Changeset 91425 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 28, 2021 7:55:15 AM (3 years ago)
Author:
vboxsync
Message:

Audio: Removed dead code (VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH is no more).

Location:
trunk/src/VBox/Devices/Audio
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp

    r89510 r91425  
    28582858        LogRel(("CoreAudio: Failed to add the output default device changed listener: %d (%#x)\n", orc, orc));
    28592859
    2860     /*
    2861      * Cleanup debug dumps from previous run.
    2862      */
    2863 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH
    2864     RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "caConverterCbInput.pcm");
    2865     RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "caPlayback.pcm");
    2866 #endif
    2867 
    28682860    LogFlowFuncLeaveRC(rc);
    28692861    return rc;
     
    29212913    PDM_DRVREG_VERSION
    29222914};
    2923 
  • trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp

    r91020 r91425  
    26102610    }
    26112611
    2612 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH
    2613     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 #endif
    26252612    return VINF_SUCCESS;
    26262613}
  • trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp

    r90012 r91425  
    345345    pThis->IHostAudio.pfnStreamCapture              = drvHstAudDebugHA_StreamCapture;
    346346
    347 #ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH
    348     RTFileDelete(VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "AudioDebugOutput.pcm");
    349 #endif
    350 
    351347    return VINF_SUCCESS;
    352348}
     
    402398    PDM_DRVREG_VERSION
    403399};
    404 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette