VirtualBox

Changeset 75527 in vbox for trunk/src


Ignore:
Timestamp:
Nov 16, 2018 5:14:58 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126685
Message:

Main/Recording: compile fixes when VBOX_WITH_AUDIO_RECORDING is unset

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r75495 r75527  
    148148    int i_recordingStart(util::AutoWriteLock *pAutoLock = NULL);
    149149    int i_recordingStop(util::AutoWriteLock *pAutoLock = NULL);
     150# ifdef VBOX_WITH_AUDIO_RECORDING
    150151    AudioVideoRec *i_recordingGetAudioDrv(void) const { return Recording.mAudioRec; }
     152# endif
    151153    RecordingContext *i_recordingGetContext(void) const { return Recording.mpCtx; }
     154# ifdef VBOX_WITH_AUDIO_RECORDING
    152155    HRESULT i_recordingSendAudio(const void *pvData, size_t cbData, uint64_t uDurationMs);
     156# endif
    153157#endif
    154158
     
    10391043        Recording()
    10401044            : mpCtx(NULL)
    1041             , mAudioRec(NULL) { }
     1045# ifdef VBOX_WITH_AUDIO_RECORDING
     1046            , mAudioRec(NULL)
     1047# endif
     1048        { }
    10421049
    10431050        /** The recording context. */
  • trunk/src/VBox/Main/src-client/Recording.cpp

    r75499 r75527  
    655655    return rc;
    656656#else
    657     RT_NOREF(pCtx, pvData, cbData, msTimestamp);
     657    RT_NOREF(pvData, cbData, msTimestamp);
    658658    return VINF_SUCCESS;
    659659#endif
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