Changeset 60306 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Apr 4, 2016 3:22:23 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106368
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r60305 r60306 1546 1546 PCOREAUDIOSTREAMOUT pStreamOut = (PCOREAUDIOSTREAMOUT)pHstStrmOut; 1547 1547 1548 int rc = VINF_SUCCESS; 1549 1548 1550 /* Check if the audio device should be reinitialized. If so do it. */ 1549 1551 if (ASMAtomicReadU32(&pStreamOut->status) == CA_STATUS_REINIT) 1550 coreAudioReinitOut(pInterface, &pStreamOut->streamOut); 1552 { 1553 rc = coreAudioReinitOut(pInterface, &pStreamOut->streamOut); 1554 if (RT_FAILURE(rc)) 1555 return rc; 1556 } 1551 1557 1552 1558 /* Not much else to do here. */ … … 1560 1566 } 1561 1567 1562 int rc = VINF_SUCCESS;1563 1568 uint32_t cbReadTotal = 0; 1564 1569 uint32_t cAvail = AudioMixBufAvail(&pHstStrmOut->MixBuf);
Note:
See TracChangeset
for help on using the changeset viewer.