Changeset 70544 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jan 11, 2018 4:20:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AudioDriver.h
- Property svn:executable deleted
r70538 r70544 25 25 26 26 /** 27 * Audio driver configuration for audio drivers implemented 28 * in Main. 27 * Audio driver configuration for audio drivers implemented 28 * in Main. 29 29 */ 30 30 struct AudioDriverCfg 31 31 { 32 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, unsigned a_uLUN = 0) 32 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, unsigned a_uLUN = 0, 33 Utf8Str a_strName = "") 33 34 : strDev(a_strDev) 34 35 , uInst(a_uInst) 35 , uLUN(a_uLUN) { } 36 , uLUN(a_uLUN) 37 , strName(a_strName) { } 36 38 37 39 AudioDriverCfg& operator=(AudioDriverCfg that) 38 40 { 39 this->strDev = that.strDev; 40 this->uInst = that.uInst; 41 this->uLUN = that.uLUN; 41 this->strDev = that.strDev; 42 this->uInst = that.uInst; 43 this->uLUN = that.uLUN; 44 this->strName = that.strName; 42 45 43 46 return *this; … … 51 54 * Set the UINT8_MAX if not attached. */ 52 55 unsigned uLUN; 56 /** The driver name. */ 57 Utf8Str strName; 53 58 }; 54 59 … … 69 74 AudioDriverCfg *GetConfig(void) { return &mCfg; } 70 75 71 Console *GetParent(void) { return mpConsole; } 76 Console *GetParent(void) { return mpConsole; } 72 77 73 78 bool IsAttached(void) { return mfAttached; } … … 82 87 83 88 /** 84 * Optional (virtual) function to give the derived audio driver 85 * class the ability to add more driver configuration entries when 89 * Optional (virtual) function to give the derived audio driver 90 * class the ability to add more driver configuration entries when 86 91 * setting up. 87 * 88 * @param pLunCfg CFGM configuration node of the driver. 92 * 93 * @param pLunCfg CFGM configuration node of the driver. 89 94 */ 90 95 virtual void configureDriver(PCFGMNODE pLunCfg) { RT_NOREF(pLunCfg); }
Note:
See TracChangeset
for help on using the changeset viewer.