VirtualBox

Changeset 96265 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 17, 2022 1:19:30 PM (2 years ago)
Author:
vboxsync
Message:

Recording/Main: Build fix when VBOX_WITH_AUDIO_RECORDING is not defined. bugref:10275

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

Legend:

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

    r96229 r96265  
    373373} RECORDINGVIDEOFRAME, *PRECORDINGVIDEOFRAME;
    374374
    375 #ifdef VBOX_WITH_AUDIO_RECORDING
    376375/**
    377376 * Structure for keeping a single recording audio frame.
     
    384383    size_t              cbBuf;
    385384} RECORDINGAUDIOFRAME, *PRECORDINGAUDIOFRAME;
    386 #endif /* VBOX_WITH_AUDIO_RECORDING */
    387385
    388386/**
     
    411409    /** The block is a video frame. */
    412410    RECORDINGBLOCKTYPE_VIDEO,
    413 #ifdef VBOX_WITH_AUDIO_RECORDING
    414411    /** The block is an audio frame. */
    415412    RECORDINGBLOCKTYPE_AUDIO
    416 #endif
    417413} RECORDINGBLOCKTYPE;
    418414
  • trunk/src/VBox/Main/src-client/RecordingStream.cpp

    r96260 r96265  
    743743            AssertPtr(File.pWEBM);
    744744            vrc = File.pWEBM->OpenEx(pszFile, &this->File.hFile,
    745 #ifdef VBOX_WITH_AUDIO_RECORDING
    746745                                     fAudioEnabled ? pSettings->Audio.enmCodec : RecordingAudioCodec_None,
    747 #else
    748                                      RecordingAudioCodec_None,
    749 #endif
    750746                                     fVideoEnabled ? pSettings->Video.enmCodec : RecordingVideoCodec_None);
    751747            if (RT_FAILURE(vrc))
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