Changeset 64652 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 11, 2016 4:11:23 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 111893
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r64565 r64652 1014 1014 uint32_t offDstWrite = pDst->offWrite; 1015 1015 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 1016 1019 if (!cSrcAvail) 1020 { 1017 1021 return VERR_NO_DATA; 1022 } 1023 #else 1024 if ( !cSrcAvail 1025 || !cDstAvail) 1026 { 1027 if (pcProcessed) 1028 *pcProcessed = 0; 1029 return VINF_SUCCESS; 1030 } 1031 #endif 1018 1032 1019 1033 AUDMIXBUF_LOG(("cSrcSamples=%RU32, cSrcAvail=%RU32 -> cDstAvail=%RU32\n", cSrcSamples, cSrcAvail, cDstAvail));
Note:
See TracChangeset
for help on using the changeset viewer.