Changeset 87573 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 3, 2021 3:27:46 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142600
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r87567 r87573 4487 4487 * @param pThis The shared HDA device state. 4488 4488 * @param pThisCC The ring-3 HDA device state. 4489 * @param pThis Device instance.4490 4489 * @param iLun The logical unit which is being replaced. 4491 4490 */ -
trunk/src/VBox/Devices/Audio/DevHDACommon.h
r87320 r87573 625 625 /** @} */ 626 626 627 /** @name Register utility functions. */ 627 /** @name Register utility functions. 628 * @{ */ 628 629 uint8_t hdaSDFIFOWToBytes(uint16_t u16RegFIFOW); 629 630 /** @} */ -
trunk/src/VBox/Devices/Audio/HDAStream.cpp
r87567 r87573 1582 1582 /** 1583 1583 * Updates a HDA stream by doing its required data transfers. 1584 * 1584 1585 * The host sink(s) set the overall pace. 1585 *1586 * This routine is called by both, the synchronous and the asynchronous, implementations.1587 1586 * 1588 1587 * This routine is called by both, the synchronous and the asynchronous … … 1628 1627 # endif 1629 1628 { 1630 1631 1629 uint32_t cbStreamFree = hdaR3StreamGetFree(pStreamR3); 1632 1630 if (!cbStreamFree) … … 1659 1657 pStreamShared->State.tsLastUpdateNs = tsNowNs; 1660 1658 } 1661 1662 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO1663 1659 } 1664 # endif1665 1660 Log3Func(("[SD%RU8] fInTimer=%RTbool, tsLastUpdateNs=%RU64, fDoRead=%RTbool\n", 1666 1661 pStreamShared->u8SD, fInTimer, pStreamShared->State.tsLastUpdateNs, fDoRead)); … … 1676 1671 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 1677 1672 if (!fInTimer) /* In async I/O thread */ 1678 {1679 1673 # else 1680 1674 if (fDoRead) 1675 # endif 1681 1676 { 1682 # endif1683 1677 const uint32_t cbSinkWritable = AudioMixerSinkGetWritable(pSink); 1684 1678 const uint32_t cbStreamReadable = hdaR3StreamGetUsed(pStreamR3); … … 1706 1700 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 1707 1701 if (!fInTimer) 1702 # endif 1708 1703 { 1709 # endif1710 1704 rc2 = AudioMixerSinkUpdate(pSink); 1711 1705 AssertRC(rc2); … … 1751 1745 } 1752 1746 } 1747 } 1753 1748 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 1754 }1755 1749 else /* fInTimer */ 1750 # endif 1756 1751 { 1757 # endif1758 1759 1752 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 1760 1753 const uint64_t tsNowNs = RTTimeNanoTS(); … … 1773 1766 AssertRC(rc2); 1774 1767 } 1775 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO1776 1768 } 1777 # endif1778 1769 } 1779 1770 }
Note:
See TracChangeset
for help on using the changeset viewer.