Changeset 73683 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 15, 2018 7:15:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r73646 r73683 1747 1747 &cbChunkWritten); 1748 1748 if (RT_FAILURE(rc2)) 1749 { 1750 if (rc2 == VERR_BUFFER_OVERFLOW) 1751 { 1752 LogRel2(("Mixer: Buffer overrun for mixer stream '%s' (sink '%s')\n", pMixStream->pszName, pSink->pszName)); 1753 #ifdef DEBUG_andy 1754 AssertRC(rc2); 1755 #endif 1756 } 1757 else if (rc2 != VERR_AUDIO_STREAM_NOT_READY) 1758 LogRel2(("Mixer: Writing to mixer stream '%s' (sink '%s') failed, rc=%Rrc\n", pMixStream->pszName, pSink->pszName, rc2)); 1759 1749 1760 LogFunc(("[%s] Failed writing to stream '%s': %Rrc\n", pSink->pszName, pMixStream->pszName, rc2)); 1750 #ifdef DEBUG_andy 1751 AssertRC(rc2); 1752 #endif 1761 } 1753 1762 } 1754 1763 … … 1767 1776 Log3Func(("[%s] cbBuf=%RU32, cbWrittenBuf=%RU32, cbWrittenStream=%RU32\n", 1768 1777 pMixStream->pszName, cbBuf, cbWrittenBuf, cbWrittenStream)); 1769 1770 if (cbWrittenBuf < cbBuf)1771 {1772 LogFunc(("[%s] Warning: Only written %RU32/%RU32 bytes for stream '%s'\n",1773 pSink->pszName, cbWrittenBuf, cbBuf, pMixStream->pszName));1774 LogRel2(("Mixer: Buffer overrun for mixer stream '%s' (sink '%s')\n", pMixStream->pszName, pSink->pszName));1775 #ifdef DEBUG_andy1776 AssertFailed();1777 #endif1778 }1779 1778 } 1780 1779
Note:
See TracChangeset
for help on using the changeset viewer.