Changeset 65162 in vbox for trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
- Timestamp:
- Jan 5, 2017 5:26:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r65120 r65162 5 5 6 6 /* 7 * Copyright (C) 2005-201 6Oracle Corporation7 * Copyright (C) 2005-2017 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 59 59 # include "DrvAudioVRDE.h" 60 60 #endif 61 #ifdef VBOX_WITH_AUDIO_VIDEOREC 62 # include "DrvAudioVideoRec.h" 63 #endif 61 64 #include "Nvram.h" 62 65 #ifdef VBOX_WITH_USB_CARDREADER … … 392 395 , m_pVMMDev(NULL) 393 396 , mAudioVRDE(NULL) 397 #ifdef VBOX_WITH_AUDIO_VIDEOREC 398 , mAudioVideoRec(NULL) 399 #endif 394 400 , mNvram(NULL) 395 401 #ifdef VBOX_WITH_USB_CARDREADER … … 575 581 AssertReturn(mAudioVRDE, E_FAIL); 576 582 #endif 583 #ifdef VBOX_WITH_AUDIO_VIDEOREC 584 unconst(mAudioVideoRec) = new AudioVideoRec(this); 585 AssertReturn(mAudioVideoRec, E_FAIL); 586 #endif 577 587 FirmwareType_T enmFirmwareType; 578 588 mMachine->COMGETTER(FirmwareType)(&enmFirmwareType); … … 716 726 delete mAudioVRDE; 717 727 unconst(mAudioVRDE) = NULL; 728 } 729 #endif 730 731 #ifdef VBOX_WITH_AUDIO_VIDEOREC 732 if (mAudioVideoRec) 733 { 734 delete mAudioVideoRec; 735 unconst(mAudioVideoRec) = NULL; 718 736 } 719 737 #endif
Note:
See TracChangeset
for help on using the changeset viewer.