Changeset 89580 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jun 9, 2021 1:22:55 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145018
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AudioDriver.h
r82968 r89580 34 34 struct AudioDriverCfg 35 35 { 36 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, unsigned a_uLUN = 0, Utf8Str a_strName = "") 36 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, unsigned a_uLUN = 0, Utf8Str a_strName = "", 37 bool a_fEnabledIn = false, bool a_fEnabledOut = false) 37 38 : strDev(a_strDev) 38 39 , uInst(a_uInst) 39 40 , uLUN(a_uLUN) 40 , strName(a_strName) { } 41 , strName(a_strName) 42 , fEnabledIn(a_fEnabledIn) 43 , fEnabledOut(a_fEnabledOut) 44 { } 41 45 42 46 /** Copy assignment operator. */ 43 47 AudioDriverCfg& operator=(AudioDriverCfg const &a_rThat) RT_NOEXCEPT 44 48 { 45 this->strDev = a_rThat.strDev; 46 this->uInst = a_rThat.uInst; 47 this->uLUN = a_rThat.uLUN; 48 this->strName = a_rThat.strName; 49 this->strDev = a_rThat.strDev; 50 this->uInst = a_rThat.uInst; 51 this->uLUN = a_rThat.uLUN; 52 this->strName = a_rThat.strName; 53 this->fEnabledIn = a_rThat.fEnabledIn; 54 this->fEnabledOut = a_rThat.fEnabledOut; 49 55 50 56 return *this; … … 52 58 53 59 /** The device name. */ 54 Utf8Str 60 Utf8Str strDev; 55 61 /** The device instance. */ 56 unsigned 62 unsigned uInst; 57 63 /** The LUN the driver is attached to. 58 64 * Set the UINT8_MAX if not attached. */ 59 unsigned 65 unsigned uLUN; 60 66 /** The driver name. */ 61 Utf8Str strName; 67 Utf8Str strName; 68 /** Whether input is enabled. */ 69 bool fEnabledIn; 70 /** Whether output is enabled. */ 71 bool fEnabledOut; 62 72 }; 63 73 -
trunk/src/VBox/Main/include/ConsoleImpl.h
r88209 r89580 674 674 675 675 static DECLCALLBACK(int) i_configConstructor(PUVM pUVM, PVM pVM, void *pvConsole); 676 void i_configAudioDriver(I AudioAdapter *pAudioAdapter, IVirtualBox *pVirtualBox, IMachine *pMachine,677 PCFGMNODE pLUN, const char *pszDriverName);676 void i_configAudioDriver(IVirtualBox *pVirtualBox, IMachine *pMachine, PCFGMNODE pLUN, const char *pszDriverName, 677 bool fAudioEnabledIn, bool fAudioEnabledOut); 678 678 int i_configConstructorInner(PUVM pUVM, PVM pVM, AutoWriteLock *pAlock); 679 679 int i_configCfgmOverlay(PCFGMNODE pRoot, IVirtualBox *pVirtualBox, IMachine *pMachine);
Note:
See TracChangeset
for help on using the changeset viewer.