Changeset 98011 in vbox
- Timestamp:
- Jan 6, 2023 2:40:38 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/AudioAdapterImpl.cpp
r96407 r98011 192 192 HRESULT AudioAdapter::getEnabled(BOOL *aEnabled) 193 193 { 194 AutoCaller autoCaller(this); 195 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 196 194 197 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 195 198 … … 221 224 HRESULT AudioAdapter::getEnabledIn(BOOL *aEnabled) 222 225 { 226 AutoCaller autoCaller(this); 227 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 228 223 229 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 224 230 … … 251 257 HRESULT AudioAdapter::getEnabledOut(BOOL *aEnabled) 252 258 { 259 AutoCaller autoCaller(this); 260 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 261 253 262 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 254 263 … … 281 290 HRESULT AudioAdapter::getAudioDriver(AudioDriverType_T *aAudioDriver) 282 291 { 292 AutoCaller autoCaller(this); 293 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 294 283 295 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 284 296 … … 320 332 HRESULT AudioAdapter::getAudioController(AudioControllerType_T *aAudioController) 321 333 { 334 AutoCaller autoCaller(this); 335 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 336 322 337 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 323 338 … … 379 394 HRESULT AudioAdapter::getAudioCodec(AudioCodecType_T *aAudioCodec) 380 395 { 396 AutoCaller autoCaller(this); 397 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 398 381 399 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 382 400 … … 448 466 HRESULT AudioAdapter::getPropertiesList(std::vector<com::Utf8Str>& aProperties) 449 467 { 468 AutoCaller autoCaller(this); 469 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 470 450 471 using namespace settings; 451 472 … … 466 487 HRESULT AudioAdapter::getProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) 467 488 { 489 AutoCaller autoCaller(this); 490 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 491 468 492 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 469 493 … … 477 501 HRESULT AudioAdapter::setProperty(const com::Utf8Str &aKey, const com::Utf8Str &aValue) 478 502 { 503 AutoCaller autoCaller(this); 504 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 505 479 506 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 480 507
Note:
See TracChangeset
for help on using the changeset viewer.