Changeset 70644 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jan 19, 2018 12:20:33 PM (7 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AudioDriver.h
r70579 r70644 31 31 struct AudioDriverCfg 32 32 { 33 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, Utf8Str a_strName = "")33 AudioDriverCfg(Utf8Str a_strDev = "", unsigned a_uInst = 0, unsigned a_uLUN = 0, Utf8Str a_strName = "") 34 34 : strDev(a_strDev) 35 35 , uInst(a_uInst) 36 , uLUN(a_uLUN) 36 37 , strName(a_strName) { } 37 38 … … 40 41 this->strDev = that.strDev; 41 42 this->uInst = that.uInst; 43 this->uLUN = that.uLUN; 42 44 this->strName = that.strName; 43 45 … … 49 51 /** The device instance. */ 50 52 unsigned uInst; 53 /** The LUN the driver is attached to. 54 * Set the UINT8_MAX if not attached. */ 55 unsigned uLUN; 51 56 /** The driver name. */ 52 57 Utf8Str strName; … … 86 91 /** 87 92 * Optional (virtual) function to give the derived audio driver 88 * class the ability to add more driver configuration entries when89 * setting up.93 * class the ability to add (or change) the driver configuration 94 * entries when setting up. 90 95 * 91 * @param pLunCfg CFGM configuration node of the driver. 96 * @return VBox status code. 97 * @param pLunCfg CFGM configuration node of the driver. 92 98 */ 93 virtual void configureDriver(PCFGMNODE pLunCfg) { RT_NOREF(pLunCfg); } 94 95 unsigned getFreeLUN(void); 99 virtual int configureDriver(PCFGMNODE pLunCfg) { RT_NOREF(pLunCfg); return VINF_SUCCESS; } 96 100 97 101 protected: … … 103 107 /** Whether the driver is attached or not. */ 104 108 bool mfAttached; 105 /** The LUN the driver is attached to.106 * Set the UINT8_MAX if not attached. */107 unsigned muLUN;108 109 }; 109 110 -
trunk/src/VBox/Main/include/DrvAudioVRDE.h
r70553 r70644 62 62 private: 63 63 64 voidconfigureDriver(PCFGMNODE pLunCfg);64 int configureDriver(PCFGMNODE pLunCfg); 65 65 66 66 /** Pointer to the associated VRDE audio driver. */ -
trunk/src/VBox/Main/include/DrvAudioVideoRec.h
r70563 r70644 50 50 private: 51 51 52 voidconfigureDriver(PCFGMNODE pLunCfg);52 int configureDriver(PCFGMNODE pLunCfg); 53 53 54 54 /** Pointer to the associated video recording audio driver. */
Note:
See TracChangeset
for help on using the changeset viewer.