Changeset 75345 in vbox
- Timestamp:
- Nov 9, 2018 10:03:36 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 126475
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r75335 r75345 686 686 VBOX_WITH_VBOX_IMG = 687 687 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64) 688 # Enables the video capturing support.689 VBOX_WITH_ VIDEOREC= 1688 # Enables recording support. 689 VBOX_WITH_RECORDING = 1 690 690 # Enable VPX (VP8 / VP9 codec), used for video capturing. 691 691 VBOX_WITH_LIBVPX = 1 692 # Enables audio support for VM video capturing.693 VBOX_WITH_AUDIO_ VIDEOREC= 1694 # Enables libopus (Opus), used for encoding audio into VM video capturing files.692 # Enables audio support for recording. 693 VBOX_WITH_AUDIO_RECORDING = 1 694 # Enables libopus (Opus), used for encoding audio into recorded data. 695 695 VBOX_WITH_LIBOPUS = 1 696 696 # Enable SEE (+ AVX) optimizations for Opus. … … 1208 1208 VBOX_WITH_LIBVPX= 1209 1209 VBOX_WITH_LIBOPUS= 1210 # Disable videorecording (with audio support).1211 VBOX_WITH_ VIDEOREC=1212 VBOX_WITH_AUDIO_ VIDEOREC=1210 # Disable recording (with audio support). 1211 VBOX_WITH_RECORDING= 1212 VBOX_WITH_AUDIO_RECORDING= 1213 1213 endif 1214 1214 # branding … … 3621 3621 endif 3622 3622 3623 ## Sign an application bundle, framework or kernel extension. 3624 # @param 1 The bundle to sign. 3625 # @param 2 Identifier, optional. 3626 # @param 3 Additional codesign command line parameters, optional. 3623 # The above version with complicated requirements is what Xcode 5.0.1GM suggest for kexts. 3627 3624 ifdef VBOX_WITH_CORP_CODE_SIGNING 3628 3625 ## @todo cannot handle $(2), the identifier. $(3) is hopefully either empty or --deep 3629 3626 VBOX_SIGN_BUNDLE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB) \ 3630 ditto -c -k --keepParent "$(1)" "$(1).zip"$(NLTAB) \ 3631 $(call VBOX_CCS_SIGN_CMD,apple,$(1).zip,,$(if $(eq $(3),--deep),-deep,))$(NLTAB) \ 3632 ditto -x -k "$(1).zip" "$(1)/../"$(NLTAB) \ 3633 $(RM) -f -- "$(1).zip" 3627 ditto -c -k $(1) $(1).zip$(NLTAB) \ 3628 $(call VBOX_CCS_SIGN_CMD,apple,$(1).zip,,$(3))$(NLTAB) \ 3629 ditto -x -k $(1).zip $(1) 3634 3630 else 3635 3631 VBOX_SIGN_BUNDLE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ … … 3638 3634 --file-list - \ 3639 3635 $(if-expr defined(VBOX_TSA_URL),--timestamp="$(VBOX_TSA_URL)") \ 3640 3636 $(3) \ 3641 3637 $(VBOX_CERTIFICATE_SUBJECT_NAME_ARGS) \ 3642 3638 $(1) $(if $(2),--identifier "$(2)",) … … 3644 3640 3645 3641 ## Sign a Mach-O image. 3646 # @param 1 The file to sign.3642 # @param 1 The bundle to sign. 3647 3643 # @param 2 Identifier, optional. 3648 ifdef VBOX_WITH_CORP_CODE_SIGNING 3649 ## @todo cannot handle $(2), the identifier. 3650 VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,binary,$(1)) 3651 else 3652 VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ 3644 VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ 3653 3645 --verbose=9 \ 3654 3646 --force \ … … 3658 3650 $(1) \ 3659 3651 $(if $(2),--identifier "$(2)",) 3660 endif3661 3652 3662 3653 ## Sign a VMM Mach-O image. 3663 # @param 1 The file to sign.3654 # @param 1 The bundle to sign. 3664 3655 # @param 2 Identifier, optional. 3665 3656 VBOX_SIGN_VMM_MOD_FN = $(VBOX_SIGN_MACHO_FN) 3666 3657 3667 3658 ## Sign a non-executable file. 3668 # @param 1 The file to sign.3659 # @param 1 The bundle to sign. 3669 3660 # @param 2 Identifier, optional. 3670 ifdef VBOX_WITH_CORP_CODE_SIGNING 3671 ## @todo cannot handle $(2), the identifier. 3672 VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,binary,$(1)) 3673 else 3674 VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ 3661 VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ 3675 3662 --verbose=9 \ 3676 3663 --force \ … … 3680 3667 $(1) \ 3681 3668 $(if $(2),--identifier "$(2)",) 3682 endif3683 3684 ## Sign a DMG image.3685 # @param 1 The file to sign.3686 # @param 2 Identifier, optional.3687 ifdef VBOX_WITH_CORP_CODE_SIGNING3688 ## @todo cannot handle $(2), the identifier.3689 VBOX_SIGN_DMG_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB) \3690 $(call VBOX_CCS_SIGN_CMD,mac_dmg,$(1))$(NLTAB) \3691 ditto -x -k "$(1).zip" "$(dir $(1))"$(NLTAB) \3692 $(RM) -f -- "$(1).zip"3693 else3694 VBOX_SIGN_DMG_FN = $(VBOX_SIGN_FILE_FN)3695 endif3696 3697 ## Sign a PKG file. Used with corp code signing only.3698 # @param 1 The file to sign.3699 # @param 2 Identifier, optional.3700 ifdef VBOX_WITH_CORP_CODE_SIGNING3701 ## @todo cannot handle $(2), the identifier.3702 VBOX_SIGN_PKG_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,mac_pkg,$(1))3703 endif3704 3669 3705 3670 ## @def VBOX_TEST_SIGN_KEXT … … 4532 4497 4533 4498 ifeq ($(KBUILD_TARGET),os2) 4534 ifndef VBOX_USE_WATCOM_FOR_OS24535 4499 TEMPLATE_VBOXR0DRV_TOOL = GXX3OMF 4536 4500 TEMPLATE_VBOXR0DRV_CXXFLAGS = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions -fno-rtti … … 4539 4503 # wlink thinks physdevice doesn't need fixups and should have a stack - stupid! 4540 4504 TEMPLATE_VBOXR0DRV_LDFLAGS = -Zlinker Option -Zlinker internalrelocs, -Zlinker togglerelocs 4541 else4542 TEMPLATE_VBOXR0DRV_TOOL = OPENWATCOM4543 TEMPLATE_VBOXR0DRV_CTOOL = OPENWATCOM4544 TEMPLATE_VBOXR0DRV_CXXTOOL = OPENWATCOM4545 TEMPLATE_VBOXR0DRV_LDTOOL = OPENWATCOM-WL4546 TEMPLATE_VBOXR0DRV_ARTOOL = OPENWATCOM4547 TEMPLATE_VBOXR0DRV_ASTOOL = NASM4548 TEMPLATE_VBOXR0DRV_ASFLAGS = -fobj -DASM_FORMAT_OMF -D__NASM__ -w+orphan-labels #-g -F borland4549 TEMPLATE_VBOXR0DRV_DEFS.os2 = #_OS2EMX_H4550 TEMPLATE_VBOXR0DRV_INCS = \4551 $(PATH_TOOL_OPENWATCOM)/h \4552 $(PATH_TOOL_OPENWATCOM)/h/os2 \4553 $(PATH_ROOT)/include \4554 $(PATH_KLIBC_TRUNK)/libc/include # for os2ddk4555 TEMPLATE_VBOXR0DRV_CFLAGS = -s -ze -w4 -hd -d1+ -nt=TEXT32 -nc=CODE -4 -of+4556 TEMPLATE_VBOXR0DRV_CXXFLAGS = -s -ze -w4 -hd -d2t -nt=TEXT32 -nc=CODE -4 -of+4557 TEMPLATE_VBOXR0DRV_LDFLAGS = \4558 form os2 lx physdevice \4559 option NODefaultlibs, internalrelocs, togglerelocs \4560 debug dwarf all #option symfile4561 # debug codeview all option symfile - wlink generates bad info, overwritten mod dir header.4562 endif4563 4505 endif 4564 4506 … … 7103 7045 endif 7104 7046 7105 7106 7047 # 7107 7048 # Template for building R0 libraries for the guest additions. -
trunk/configure
r74653 r75345 2756 2756 if [ $WITH_LIBVPX -eq 0 ]; then 2757 2757 cnf_append "VBOX_WITH_LIBVPX" "" 2758 cnf_append "VBOX_WITH_ VIDEOREC" ""2758 cnf_append "VBOX_WITH_RECORDING" "" 2759 2759 fi 2760 2760 if [ $WITH_LIBOPUS -eq 0 ]; then 2761 2761 cnf_append "VBOX_WITH_LIBOPUS" "" 2762 cnf_append "VBOX_WITH_AUDIO_ VIDEOREC" ""2762 cnf_append "VBOX_WITH_AUDIO_RECORDING" "" 2763 2763 fi 2764 2764 -
trunk/src/VBox/Frontends/VBoxHeadless/Makefile.kmk
r65381 r75345 45 45 # 46 46 VBoxHeadless_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXMAINCLIENTDLL,VBOXMAINCLIENTEXE) 47 VBoxHeadless_DEFS += $(if $(VBOX_WITH_ VIDEOREC),VBOX_WITH_VIDEOREC,)47 VBoxHeadless_DEFS += $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING,) 48 48 VBoxHeadless_INCS = $(VBOX_GRAPHICS_INCS) 49 49 VBoxHeadless_SOURCES = VBoxHeadless.cpp -
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r75341 r75345 44 44 #include <VBoxVideo.h> 45 45 46 #ifdef VBOX_WITH_ VIDEOREC46 #ifdef VBOX_WITH_RECORDING 47 47 # include <cstdlib> 48 48 # include <cerrno> … … 464 464 " settings password\n" 465 465 " -start-paused, --start-paused Start the VM in paused state\n" 466 #ifdef VBOX_WITH_ VIDEOREC466 #ifdef VBOX_WITH_RECORDING 467 467 " -c, -record, --record Record the VM screen output to a file\n" 468 468 " -w, --videowidth Video frame width when recording\n" … … 475 475 } 476 476 477 #ifdef VBOX_WITH_ VIDEOREC477 #ifdef VBOX_WITH_RECORDING 478 478 /** 479 479 * Parse the environment for variables which can influence the VIDEOREC settings. … … 524 524 *ppszFileName = pszEnvTemp; 525 525 } 526 #endif /* VBOX_WITH_ VIDEORECdefined */526 #endif /* VBOX_WITH_RECORDING defined */ 527 527 528 528 static RTEXITCODE readPasswordFile(const char *pszFilename, com::Utf8Str *pPasswd) … … 626 626 unsigned fCSAM = ~0U; 627 627 unsigned fPaused = 0; 628 #ifdef VBOX_WITH_ VIDEOREC628 #ifdef VBOX_WITH_RECORDING 629 629 bool fRecordEnabled = false; 630 630 uint32_t ulRecordVideoWidth = 800; … … 633 633 char szRecordFileName[RTPATH_MAX]; 634 634 const char *pszRecordFileNameTemplate = "VBox-%d.webm"; /* .webm container by default. */ 635 #endif /* VBOX_WITH_ VIDEOREC*/635 #endif /* VBOX_WITH_RECORDING */ 636 636 #ifdef RT_OS_WINDOWS 637 637 ATL::CComModule _Module; /* Required internally by ATL (constructor records instance in global variable). */ … … 643 643 "All rights reserved.\n\n"); 644 644 645 #ifdef VBOX_WITH_ VIDEOREC645 #ifdef VBOX_WITH_RECORDING 646 646 /* Parse the environment */ 647 647 parse_environ(&ulRecordVideoWidth, &ulRecordVideoHeight, &ulRecordVideoRate, &pszRecordFileNameTemplate); … … 696 696 { "--settingspw", OPT_SETTINGSPW, RTGETOPT_REQ_STRING }, 697 697 { "--settingspwfile", OPT_SETTINGSPW_FILE, RTGETOPT_REQ_STRING }, 698 #ifdef VBOX_WITH_ VIDEOREC698 #ifdef VBOX_WITH_RECORDING 699 699 { "-record", 'c', 0 }, 700 700 { "--record", 'c', 0 }, … … 703 703 { "--videorate", 'r', RTGETOPT_REQ_UINT32 }, 704 704 { "--filename", 'f', RTGETOPT_REQ_STRING }, 705 #endif /* VBOX_WITH_ VIDEORECdefined */705 #endif /* VBOX_WITH_RECORDING defined */ 706 706 { "-comment", OPT_COMMENT, RTGETOPT_REQ_STRING }, 707 707 { "--comment", OPT_COMMENT, RTGETOPT_REQ_STRING }, … … 780 780 fPaused = true; 781 781 break; 782 #ifdef VBOX_WITH_ VIDEOREC782 #ifdef VBOX_WITH_RECORDING 783 783 case 'c': 784 784 fRecordEnabled = true; … … 793 793 pszRecordFileNameTemplate = ValueUnion.psz; 794 794 break; 795 #endif /* VBOX_WITH_ VIDEORECdefined */795 #endif /* VBOX_WITH_RECORDING defined */ 796 796 case 'h': 797 #ifdef VBOX_WITH_ VIDEOREC797 #ifdef VBOX_WITH_RECORDING 798 798 if ((GetState.pDef->fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING) 799 799 { … … 817 817 } 818 818 819 #ifdef VBOX_WITH_ VIDEOREC819 #ifdef VBOX_WITH_RECORDING 820 820 if (ulRecordVideoWidth < 512 || ulRecordVideoWidth > 2048 || ulRecordVideoWidth % 2) 821 821 { … … 847 847 } 848 848 RTStrPrintf(&szRecordFileName[0], RTPATH_MAX, pszRecordFileNameTemplate, RTProcSelf()); 849 #endif /* defined VBOX_WITH_ VIDEOREC*/849 #endif /* defined VBOX_WITH_RECORDING */ 850 850 851 851 if (!pcszNameOrUUID) … … 958 958 CHECK_ERROR_BREAK(console, COMGETTER(Display)(display.asOutParam())); 959 959 960 #ifdef VBOX_WITH_ VIDEOREC960 #ifdef VBOX_WITH_RECORDING 961 961 if (fRecordEnabled) 962 962 { … … 978 978 } 979 979 } 980 #endif /* defined(VBOX_WITH_ VIDEOREC) */980 #endif /* defined(VBOX_WITH_RECORDING) */ 981 981 982 982 /* get the machine debugger (isn't necessarily available) */ … … 1227 1227 Log(("VBoxHeadless: event loop has terminated...\n")); 1228 1228 1229 #ifdef VBOX_WITH_ VIDEOREC1229 #ifdef VBOX_WITH_RECORDING 1230 1230 if (fRecordEnabled) 1231 1231 { … … 1237 1237 } 1238 1238 } 1239 #endif /* VBOX_WITH_ VIDEOREC*/1239 #endif /* VBOX_WITH_RECORDING */ 1240 1240 1241 1241 /* we don't have to disable VRDE here because we don't save the settings of the VM */ -
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r68941 r75345 41 41 $(if $(VBOX_WITH_USB_CARDREADER),VBOX_WITH_USB_CARDREADER) \ 42 42 $(if $(VBOX_WITH_PCI_PASSTHROUGH),VBOX_WITH_PCI_PASSTHROUGH) \ 43 $(if $(VBOX_WITH_ VIDEOREC),VBOX_WITH_VIDEOREC) \44 $(if $(VBOX_WITH_AUDIO_ VIDEOREC),VBOX_WITH_AUDIO_VIDEOREC) \43 $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING) \ 44 $(if $(VBOX_WITH_AUDIO_RECORDING),VBOX_WITH_AUDIO_RECORDING) \ 45 45 $(if $(VBOX_WITH_NAT_SERVICE),VBOX_WITH_NAT_SERVICE) \ 46 46 $(if $(VBOX_WITH_VMSVGA),VBOX_WITH_VMSVGA) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r75341 r75345 1854 1854 RTFileClose(pngFile); 1855 1855 } 1856 #ifdef VBOX_WITH_ VIDEOREC1856 #ifdef VBOX_WITH_RECORDING 1857 1857 else if (!strcmp(a->argv[1], "record")) 1858 1858 { … … 2075 2075 } 2076 2076 } 2077 #endif /* VBOX_WITH_ VIDEOREC*/2077 #endif /* VBOX_WITH_RECORDING */ 2078 2078 else if (!strcmp(a->argv[1], "webcam")) 2079 2079 { -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r75341 r75345 712 712 " acpishutdown]\n" 713 713 #endif 714 #ifdef VBOX_WITH_ VIDEOREC714 #ifdef VBOX_WITH_RECORDING 715 715 " [--record on|off]\n" 716 716 " [--record screens all|<screen ID> [<screen ID> ...]]\n" … … 831 831 " setscreenlayout <display> on|primary <xorigin> <yorigin> <xres> <yres> <bpp> | off\n" 832 832 " screenshotpng <file> [display] |\n" 833 #ifdef VBOX_WITH_ VIDEOREC833 #ifdef VBOX_WITH_RECORDING 834 834 " record on|off |\n" 835 835 " record screens all|none|<screen>,[<screen>...] |\n" … … 840 840 " record maxtime <s> |\n" 841 841 " record maxfilesize <MB> |\n" 842 #endif /* VBOX_WITH_ VIDEOREC*/842 #endif /* VBOX_WITH_RECORDING */ 843 843 " setcredentials <username>\n" 844 844 " --passwordfile <file> | <password>\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r75341 r75345 2371 2371 } 2372 2372 2373 #ifdef VBOX_WITH_ VIDEOREC2373 #ifdef VBOX_WITH_RECORDING 2374 2374 { 2375 2375 /* Video capture */ 2376 2376 BOOL fCaptureVideo = FALSE; 2377 # ifdef VBOX_WITH_AUDIO_ VIDEOREC2377 # ifdef VBOX_WITH_AUDIO_RECORDING 2378 2378 BOOL fCaptureAudio = FALSE; 2379 2379 # endif … … 2412 2412 else if (key.compare("ac_enabled", Utf8Str::CaseInsensitive) == 0) 2413 2413 { 2414 # ifdef VBOX_WITH_AUDIO_ VIDEOREC2414 # ifdef VBOX_WITH_AUDIO_RECORDING 2415 2415 fCaptureAudio = value.compare("true", Utf8Str::CaseInsensitive) == 0; 2416 2416 # endif … … 2419 2419 2420 2420 SHOW_BOOL_VALUE_EX("videocap", "Capturing:", fCaptureVideo, "active", "not active"); 2421 # ifdef VBOX_WITH_AUDIO_ VIDEOREC2421 # ifdef VBOX_WITH_AUDIO_RECORDING 2422 2422 SHOW_BOOL_VALUE_EX("videocapaudio", "Capture audio:", fCaptureAudio, "active", "not active"); 2423 2423 # endif … … 2442 2442 /** @todo Add more audio capturing profile / information here. */ 2443 2443 } 2444 #endif /* VBOX_WITH_ VIDEOREC*/2444 #endif /* VBOX_WITH_RECORDING */ 2445 2445 2446 2446 if ( details == VMINFO_STANDARD -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r75341 r75345 214 214 MODIFYVM_USBCARDREADER, 215 215 #endif 216 #ifdef VBOX_WITH_ VIDEOREC216 #ifdef VBOX_WITH_RECORDING 217 217 MODIFYVM_RECORD, 218 218 MODIFYVM_RECORD_FEATURES, … … 394 394 { "--faulttolerancesyncinterval", MODIFYVM_FAULT_TOLERANCE_SYNC_INTERVAL, RTGETOPT_REQ_UINT32 }, 395 395 { "--chipset", MODIFYVM_CHIPSET, RTGETOPT_REQ_STRING }, 396 #ifdef VBOX_WITH_ VIDEOREC396 #ifdef VBOX_WITH_RECORDING 397 397 { "--record", MODIFYVM_RECORD, RTGETOPT_REQ_BOOL_ONOFF }, 398 398 { "--recordscreens", MODIFYVM_RECORD_SCREENS, RTGETOPT_REQ_STRING }, … … 464 464 } 465 465 466 #ifdef VBOX_WITH_ VIDEOREC466 #ifdef VBOX_WITH_RECORDING 467 467 static int parseScreens(const char *pcszScreens, com::SafeArray<BOOL> *pScreens) 468 468 { … … 2927 2927 break; 2928 2928 } 2929 #ifdef VBOX_WITH_ VIDEOREC2929 #ifdef VBOX_WITH_RECORDING 2930 2930 case MODIFYVM_RECORD: 2931 2931 RT_FALL_THROUGH(); -
trunk/src/VBox/Main/Makefile.kmk
r75344 r75345 354 354 $(if $(VBOX_WITH_AUDIO_DEBUG),VBOX_WITH_AUDIO_DEBUG,) \ 355 355 $(if $(VBOX_WITH_AUDIO_VALIDATIONKIT),VBOX_WITH_AUDIO_VALIDATIONKIT,) \ 356 $(if $(VBOX_WITH_AUDIO_ VIDEOREC),VBOX_WITH_AUDIO_VIDEOREC,) \357 $(if $(VBOX_WITH_ VIDEOREC),VBOX_WITH_VIDEOREC,) \356 $(if $(VBOX_WITH_AUDIO_RECORDING),VBOX_WITH_AUDIO_RECORDING,) \ 357 $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING,) \ 358 358 $(if $(VBOX_WITH_AUDIO_VRDE),VBOX_WITH_AUDIO_VRDE,) \ 359 359 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \ … … 760 760 $(if $(VBOX_WITH_AUDIO_DEBUG),VBOX_WITH_AUDIO_DEBUG,) \ 761 761 $(if $(VBOX_WITH_AUDIO_VALIDATIONKIT),VBOX_WITH_AUDIO_VALIDATIONKIT,) \ 762 $(if $(VBOX_WITH_AUDIO_ VIDEOREC),VBOX_WITH_AUDIO_VIDEOREC,) \763 $(if $(VBOX_WITH_ VIDEOREC),VBOX_WITH_VIDEOREC,) \762 $(if $(VBOX_WITH_AUDIO_RECORDING),VBOX_WITH_AUDIO_RECORDING,) \ 763 $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING,) \ 764 764 $(if $(VBOX_WITH_AUDIO_VRDE),VBOX_WITH_AUDIO_VRDE,) \ 765 765 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \ … … 795 795 VBoxC_SDKS = VBOX_LIBPNG VBOX_ZLIB 796 796 797 ifdef VBOX_WITH_ VIDEOREC797 ifdef VBOX_WITH_RECORDING 798 798 VBoxC_SOURCES += \ 799 799 xml/Settings.cpp \ … … 813 813 endif 814 814 815 ifdef VBOX_WITH_AUDIO_ VIDEOREC815 ifdef VBOX_WITH_AUDIO_RECORDING 816 816 ifdef VBOX_WITH_LIBOPUS 817 817 VBoxC_SDKS += VBOX_OPUS … … 933 933 src-client/AudioDriver.cpp \ 934 934 $(if $(VBOX_WITH_AUDIO_VRDE),src-client/DrvAudioVRDE.cpp,) \ 935 $(if $(VBOX_WITH_AUDIO_ VIDEOREC),src-client/DrvAudioRec.cpp,)935 $(if $(VBOX_WITH_AUDIO_RECORDING),src-client/DrvAudioRec.cpp,) 936 936 937 937 VBoxC_SOURCES.win = \ -
trunk/src/VBox/Main/include/ConsoleImpl.h
r75344 r75345 24 24 #include "SecretKeyStore.h" 25 25 #include "ConsoleWrap.h" 26 #ifdef VBOX_WITH_ VIDEOREC26 #ifdef VBOX_WITH_RECORDING 27 27 # include "Recording.h" 28 28 #endif … … 40 40 class EmulatedUSB; 41 41 class AudioVRDE; 42 #ifdef VBOX_WITH_AUDIO_ VIDEOREC42 #ifdef VBOX_WITH_AUDIO_RECORDING 43 43 class AudioVideoRec; 44 44 #endif … … 141 141 AudioVRDE *i_getAudioVRDE() const { return mAudioVRDE; } 142 142 #endif 143 #ifdef VBOX_WITH_AUDIO_ VIDEOREC143 #ifdef VBOX_WITH_AUDIO_RECORDING 144 144 int i_videoRecCreate(void); 145 145 void i_videoRecDestroy(void); … … 1030 1030 ComPtr<IEventListener> mVmListener; 1031 1031 1032 #ifdef VBOX_WITH_ VIDEOREC1032 #ifdef VBOX_WITH_RECORDING 1033 1033 struct Capture 1034 1034 { … … 1039 1039 /** The capturing context. */ 1040 1040 CaptureContext *mpVideoRecCtx; 1041 # ifdef VBOX_WITH_AUDIO_ VIDEOREC1041 # ifdef VBOX_WITH_AUDIO_RECORDING 1042 1042 /** Pointer to capturing audio backend. */ 1043 1043 AudioVideoRec * const mAudioVideoRec; 1044 1044 # endif 1045 1045 } Capture; 1046 #endif /* VBOX_WITH_ VIDEOREC*/1046 #endif /* VBOX_WITH_RECORDING */ 1047 1047 1048 1048 friend class VMTask; -
trunk/src/VBox/Main/include/DisplayImpl.h
r75251 r75345 97 97 #endif /* VBOX_WITH_CROGL */ 98 98 99 #ifdef VBOX_WITH_ VIDEOREC99 #ifdef VBOX_WITH_RECORDING 100 100 struct 101 101 { 102 102 ComPtr<IDisplaySourceBitmap> pSourceBitmap; 103 103 } videoRec; 104 #endif /* VBOX_WITH_ VIDEOREC*/104 #endif /* VBOX_WITH_RECORDING */ 105 105 } DISPLAYFBINFO; 106 106 … … 200 200 void VideoAccelFlushVMMDev(void); 201 201 202 #ifdef VBOX_WITH_ VIDEOREC202 #ifdef VBOX_WITH_RECORDING 203 203 int i_videoRecInvalidate(void); 204 204 void i_videoRecScreenChanged(unsigned uScreenId); … … 469 469 RTCRITSECT mVideoAccelLock; 470 470 471 #ifdef VBOX_WITH_ VIDEOREC471 #ifdef VBOX_WITH_RECORDING 472 472 /* Serializes access to video recording source bitmaps. */ 473 473 RTCRITSECT mVideoRecLock; -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r75344 r75345 62 62 # include "DrvAudioVRDE.h" 63 63 #endif 64 #ifdef VBOX_WITH_AUDIO_ VIDEOREC64 #ifdef VBOX_WITH_AUDIO_RECORDING 65 65 # include "DrvAudioRec.h" 66 66 #endif … … 83 83 #include "ThreadTask.h" 84 84 85 #ifdef VBOX_WITH_ VIDEOREC85 #ifdef VBOX_WITH_RECORDING 86 86 # include "Recording.h" 87 87 #endif … … 586 586 AssertReturn(mAudioVRDE, E_FAIL); 587 587 #endif 588 #ifdef VBOX_WITH_AUDIO_ VIDEOREC588 #ifdef VBOX_WITH_AUDIO_RECORDING 589 589 unconst(Capture.mAudioVideoRec) = new AudioVideoRec(this); 590 590 AssertReturn(Capture.mAudioVideoRec, E_FAIL); … … 734 734 #endif 735 735 736 #ifdef VBOX_WITH_AUDIO_ VIDEOREC736 #ifdef VBOX_WITH_AUDIO_RECORDING 737 737 if (Capture.mAudioVideoRec) 738 738 { … … 5599 5599 } 5600 5600 5601 #ifdef VBOX_WITH_ VIDEOREC5601 #ifdef VBOX_WITH_RECORDING 5602 5602 /** 5603 5603 * Enables or disables video (audio) capturing of a VM. … … 5630 5630 if (RT_SUCCESS(vrc)) 5631 5631 { 5632 # ifdef VBOX_WITH_AUDIO_ VIDEOREC5632 # ifdef VBOX_WITH_AUDIO_RECORDING 5633 5633 /* Attach the video recording audio driver if required. */ 5634 5634 if ( Capture.mpVideoRecCtx->IsFeatureEnabled(RecordFeature_Audio) … … 5650 5650 { 5651 5651 i_videoRecStop(); 5652 # ifdef VBOX_WITH_AUDIO_ VIDEOREC5652 # ifdef VBOX_WITH_AUDIO_RECORDING 5653 5653 Capture.mAudioVideoRec->doDetachDriverViaEmt(mpUVM, pAutoLock); 5654 5654 # endif … … 5665 5665 return vrc; 5666 5666 } 5667 #endif /* VBOX_WITH_ VIDEOREC*/5667 #endif /* VBOX_WITH_RECORDING */ 5668 5668 5669 5669 HRESULT Console::i_onRecordChange() … … 5675 5675 5676 5676 HRESULT rc = S_OK; 5677 #ifdef VBOX_WITH_ VIDEOREC5677 #ifdef VBOX_WITH_RECORDING 5678 5678 /* Don't trigger video capture changes if the VM isn't running. */ 5679 5679 SafeVMPtrQuiet ptrVM(this); … … 5697 5697 ptrVM.release(); 5698 5698 } 5699 #endif /* VBOX_WITH_ VIDEOREC*/5699 #endif /* VBOX_WITH_RECORDING */ 5700 5700 5701 5701 return rc; … … 6867 6867 } 6868 6868 6869 #ifdef VBOX_WITH_AUDIO_ VIDEOREC6869 #ifdef VBOX_WITH_AUDIO_RECORDING 6870 6870 /** 6871 6871 * Sends audio (frame) data to the display's video capturing routines. … … 6889 6889 return S_OK; 6890 6890 } 6891 #endif /* VBOX_WITH_AUDIO_ VIDEOREC*/6892 6893 #ifdef VBOX_WITH_ VIDEOREC6891 #endif /* VBOX_WITH_AUDIO_RECORDING */ 6892 6893 #ifdef VBOX_WITH_RECORDING 6894 6894 int Console::i_videoRecGetSettings(settings::RecordSettings &Settings) 6895 6895 { … … 7057 7057 return rc; 7058 7058 } 7059 #endif /* VBOX_WITH_ VIDEOREC*/7059 #endif /* VBOX_WITH_RECORDING */ 7060 7060 7061 7061 /** … … 10145 10145 pConsole->i_consoleVRDPServer()->EnableConnections(); 10146 10146 10147 #ifdef VBOX_WITH_ VIDEOREC10147 #ifdef VBOX_WITH_RECORDING 10148 10148 ComPtr<IRecordSettings> RecordSettings; 10149 10149 rc = pConsole->mMachine->COMGETTER(RecordSettings)(RecordSettings.asOutParam()); -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r75344 r75345 53 53 #include <VBox/com/array.h> 54 54 55 #ifdef VBOX_WITH_ VIDEOREC55 #ifdef VBOX_WITH_RECORDING 56 56 # include <iprt/path.h> 57 57 # include "Recording.h" … … 146 146 #endif 147 147 148 #ifdef VBOX_WITH_ VIDEOREC148 #ifdef VBOX_WITH_RECORDING 149 149 rc = RTCritSectInit(&mVideoRecLock); 150 150 AssertRC(rc); … … 178 178 uninit(); 179 179 180 #ifdef VBOX_WITH_ VIDEOREC180 #ifdef VBOX_WITH_RECORDING 181 181 if (RTCritSectIsInitialized(&mVideoRecLock)) 182 182 { … … 729 729 maFramebuffers[uScreenId].updateImage.cbLine = 0; 730 730 maFramebuffers[uScreenId].pFramebuffer.setNull(); 731 #ifdef VBOX_WITH_ VIDEOREC731 #ifdef VBOX_WITH_RECORDING 732 732 maFramebuffers[uScreenId].videoRec.pSourceBitmap.setNull(); 733 733 #endif … … 1057 1057 i_handleSetVisibleRegion(mcRectVisibleRegion, mpRectVisibleRegion); 1058 1058 1059 #ifdef VBOX_WITH_ VIDEOREC1059 #ifdef VBOX_WITH_RECORDING 1060 1060 i_videoRecScreenChanged(uScreenId); 1061 1061 #endif … … 2405 2405 } 2406 2406 2407 #ifdef VBOX_WITH_ VIDEOREC2407 #ifdef VBOX_WITH_RECORDING 2408 2408 /** 2409 2409 * Invalidates the capturing configuration. … … 2460 2460 } 2461 2461 } 2462 #endif /* VBOX_WITH_ VIDEOREC*/2462 #endif /* VBOX_WITH_RECORDING */ 2463 2463 2464 2464 int Display::i_drawToScreenEMT(Display *pDisplay, ULONG aScreenId, BYTE *address, … … 3387 3387 } 3388 3388 3389 #ifdef VBOX_WITH_ VIDEOREC3389 #ifdef VBOX_WITH_RECORDING 3390 3390 AssertPtr(pDisplay->mParent); 3391 3391 CaptureContext *pCtx = pDisplay->mParent->i_videoRecGetContext(); … … 3486 3486 } while (0); 3487 3487 } 3488 #endif /* VBOX_WITH_ VIDEOREC*/3488 #endif /* VBOX_WITH_RECORDING */ 3489 3489 3490 3490 #ifdef DEBUG_sunlover_2 … … 3832 3832 bool Display::i_handleCrVRecScreenshotBegin(uint32_t uScreen, uint64_t uTimestampMs) 3833 3833 { 3834 # ifdef VBOX_WITH_ VIDEOREC3834 # ifdef VBOX_WITH_RECORDING 3835 3835 CaptureContext *pCtx = mParent->i_videoRecGetContext(); 3836 3836 return ( pCtx … … 3854 3854 { 3855 3855 Assert(mfCrOglVideoRecState == CRVREC_STATE_SUBMITTED); 3856 # ifdef VBOX_WITH_ VIDEOREC3856 # ifdef VBOX_WITH_RECORDING 3857 3857 CaptureContext *pCtx = mParent->i_videoRecGetContext(); 3858 3858 … … 3872 3872 RT_NOREF(uScreen, x, y, uPixelFormat, \ 3873 3873 uBitsPerPixel, uBytesPerLine, uGuestWidth, uGuestHeight, pu8BufferAddress, uTimestampMs); 3874 # endif /* VBOX_WITH_ VIDEOREC*/3874 # endif /* VBOX_WITH_RECORDING */ 3875 3875 } 3876 3876 … … 4498 4498 { 4499 4499 AutoWriteLock displayLock(pThis->pDisplay COMMA_LOCKVAL_SRC_POS); 4500 #ifdef VBOX_WITH_ VIDEOREC4500 #ifdef VBOX_WITH_RECORDING 4501 4501 pThis->pDisplay->mParent->i_videoRecStop(); 4502 4502 #endif
Note:
See TracChangeset
for help on using the changeset viewer.