VirtualBox

Changeset 97404 in vbox


Ignore:
Timestamp:
Nov 4, 2022 4:22:59 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154406
Message:

Recording/Main: Build fixes when VBOX_WITH_AUDIO_RECORDING is not defined.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/Recording.cpp

    r96407 r97404  
    837837    if (m_enmState == RECORDINGSTS_STARTED)
    838838    {
     839#ifdef VBOX_WITH_AUDIO_RECORDING
    839840        if (   recordingCodecIsInitialized(&m_CodecAudio)
    840841            && recordingCodecGetWritable(&m_CodecAudio, msTimestamp) > 0)
     
    842843            fNeedsUpdate = true;
    843844        }
     845#endif /* VBOX_WITH_AUDIO_RECORDING */
    844846
    845847        if (!fNeedsUpdate)
  • trunk/src/VBox/Main/src-client/RecordingInternals.cpp

    r96481 r97404  
    139139    switch (pFrame->enmType)
    140140    {
     141#ifdef VBOX_WITH_AUDIO_RECORDING
    141142        case RECORDINGFRAME_TYPE_AUDIO:
    142143            recordingAudioFrameDestroy(&pFrame->Audio);
    143144            break;
    144 
     145#endif
    145146        case RECORDINGFRAME_TYPE_VIDEO:
    146147            RecordingVideoFrameDestroy(&pFrame->Video);
Note: See TracChangeset for help on using the changeset viewer.

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