VirtualBox

Changeset 75346 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Nov 9, 2018 10:05:06 AM (6 years ago)
Author:
vboxsync
Message:

Recording: VBOX_WITH_VIDEOREC -> VBOX_WITH_RECORDING, VBOX_WITH_AUDIO_VIDEOREC -> VBOX_WITH_AUDIO_RECORDING.

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

Legend:

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

    r75344 r75346  
    125125# include "DrvAudioVRDE.h"
    126126#endif
    127 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     127#ifdef VBOX_WITH_AUDIO_RECORDING
    128128# include "DrvAudioRec.h"
    129129#endif
     
    29932993#endif /* VBOX_WITH_AUDIO_VRDE */
    29942994
    2995 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     2995#ifdef VBOX_WITH_AUDIO_RECORDING
    29962996            /* Insert dummy audio driver to have the LUN configured. */
    29972997            CFGMR3InsertNodeF(pInst, &pLunL0, "LUN#%RU8", uAudioLUN);
     
    30013001            if (RT_SUCCESS(rc))
    30023002                uAudioLUN++;
    3003 #endif /* VBOX_WITH_AUDIO_VIDEOREC */
     3003#endif /* VBOX_WITH_AUDIO_RECORDING */
    30043004
    30053005            if (fDebugEnabled)
  • trunk/src/VBox/Main/src-client/Recording.cpp

    r75344 r75346  
    466466int CaptureContext::SendAudioFrame(const void *pvData, size_t cbData, uint64_t uTimeStampMs)
    467467{
    468 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     468#ifdef VBOX_WITH_AUDIO_RECORDING
    469469    AssertPtrReturn(pvData, VERR_INVALID_POINTER);
    470470    AssertReturn(cbData, VERR_INVALID_PARAMETER);
  • trunk/src/VBox/Main/src-client/RecordingInternals.cpp

    r75344 r75346  
    2121#include <iprt/mem.h>
    2222
    23 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     23#ifdef VBOX_WITH_AUDIO_RECORDING
    2424/**
    2525 * Frees a previously allocated video recording audio frame.
     
    7878            break;
    7979
    80 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     80#ifdef VBOX_WITH_AUDIO_RECORDING
    8181        case VIDEORECBLOCKTYPE_AUDIO:
    8282            VideoRecAudioFrameFree((PVIDEORECAUDIOFRAME)pBlock->pvData);
  • trunk/src/VBox/Main/src-client/RecordingStream.cpp

    r75344 r75346  
    210210            {
    211211                this->ScreenSettings.featureMap[RecordFeature_Video] = false;
    212 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     212#ifdef VBOX_WITH_AUDIO_RECORDING
    213213                LogRel(("Recording: Only audio will be recorded\n"));
    214214#endif
     
    217217        else if (key.compare("ac_enabled", Utf8Str::CaseInsensitive) == 0)
    218218        {
    219 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     219#ifdef VBOX_WITH_AUDIO_RECORDING
    220220            if (value.compare("true", Utf8Str::CaseInsensitive) == 0)
    221221            {
     
    228228        else if (key.compare("ac_profile", Utf8Str::CaseInsensitive) == 0)
    229229        {
    230 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     230#ifdef VBOX_WITH_AUDIO_RECORDING
    231231            if (value.compare("low", Utf8Str::CaseInsensitive) == 0)
    232232            {
     
    364364    }
    365365
    366 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     366#ifdef VBOX_WITH_AUDIO_RECORDING
    367367    AssertPtr(pCtx);
    368368
     
    705705            AssertPtr(File.pWEBM);
    706706            rc = File.pWEBM->OpenEx(pszFile, &this->File.hFile,
    707 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     707#ifdef VBOX_WITH_AUDIO_RECORDING
    708708                                      Settings.isFeatureEnabled(RecordFeature_Audio)
    709709                                    ? WebMWriter::AudioCodec_Opus : WebMWriter::AudioCodec_None,
     
    734734            }
    735735
    736 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     736#ifdef VBOX_WITH_AUDIO_RECORDING
    737737            if (fAudioEnabled)
    738738            {
     
    752752
    753753            if (   fVideoEnabled
    754 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     754#ifdef VBOX_WITH_AUDIO_RECORDING
    755755                || fAudioEnabled
    756756#endif
     
    760760                if (fVideoEnabled)
    761761                    RTStrCat(szWhat, sizeof(szWhat), "video");
    762 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     762#ifdef VBOX_WITH_AUDIO_RECORDING
    763763                if (fAudioEnabled)
    764764                {
     
    10241024int CaptureStream::initAudio(void)
    10251025{
    1026 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     1026#ifdef VBOX_WITH_AUDIO_RECORDING
    10271027    if (this->ScreenSettings.isFeatureEnabled(RecordFeature_Audio))
    10281028    {
  • trunk/src/VBox/Main/src-client/VBoxDriversRegister.cpp

    r75344 r75346  
    3131# include "DrvAudioVRDE.h"
    3232#endif
    33 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     33#ifdef VBOX_WITH_AUDIO_RECORDING
    3434# include "DrvAudioRec.h"
    3535#endif
     
    8080        return rc;
    8181#endif
    82 #ifdef VBOX_WITH_AUDIO_VIDEOREC
     82#ifdef VBOX_WITH_AUDIO_RECORDING
    8383    rc = pCallbacks->pfnRegister(pCallbacks, &AudioVideoRec::DrvReg);
    8484    if (RT_FAILURE(rc))
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