Changeset 64981 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Dec 21, 2016 1:24:13 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112464
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r64652 r64981 975 975 * 976 976 * @return IPRT status code. 977 * VERR_NO_DATA if the source does not have any audio data.978 977 * VERR_BUFFER_UNDERFLOW if the source did not have enough audio data. 979 978 * VERR_BUFFER_OVERFLOW if the destination did not have enough space to store the converted source audio data. … … 1014 1013 uint32_t offDstWrite = pDst->offWrite; 1015 1014 1016 // Updated code causes tstAudioMixBuffer to fail. Problem is failing the call 1017 // when source has no available data, which can apparently happen. See #8521. 1018 #if 0 1019 if (!cSrcAvail) 1020 { 1021 return VERR_NO_DATA; 1022 } 1023 #else 1015 AUDMIXBUF_LOG(("cSrcSamples=%RU32, cSrcAvail=%RU32 -> cDstAvail=%RU32\n", cSrcSamples, cSrcAvail, cDstAvail)); 1016 1024 1017 if ( !cSrcAvail 1025 1018 || !cDstAvail) … … 1029 1022 return VINF_SUCCESS; 1030 1023 } 1031 #endif1032 1033 AUDMIXBUF_LOG(("cSrcSamples=%RU32, cSrcAvail=%RU32 -> cDstAvail=%RU32\n", cSrcSamples, cSrcAvail, cDstAvail));1034 1024 1035 1025 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.