Changeset 89190 in vbox
- Timestamp:
- May 19, 2021 9:49:59 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144531
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r89187 r89190 1066 1066 #else 1067 1067 PAUDMIXSTREAM pStreamRecSource = pSink->In.pStreamRecSource; 1068 if (!pStreamRecSource) 1069 { 1070 Log3Func(("[%s] No recording source specified, skipping ...\n", pSink->pszName)); 1071 } 1072 else 1068 if ( pStreamRecSource 1069 && (pStreamRecSource->fStatus & AUDMIXSTREAM_STATUS_CAN_READ)) 1073 1070 { 1074 1071 AssertPtr(pStreamRecSource->pConn); 1075 1072 cbReadable = pStreamRecSource->pConn->pfnStreamGetReadable(pStreamRecSource->pConn, pStreamRecSource->pStream); 1076 1073 } 1074 else if (!pStreamRecSource) 1075 Log3Func(("[%s] No recording source specified, skipping ...\n", pSink->pszName)); 1076 else 1077 Log3Func(("[%s] The recording source is not readable!\n", pSink->pszName)); 1077 1078 #endif 1078 1079 } … … 2422 2423 int rc = AudioMixerSinkRead(pSink, abBuf, RT_MIN(cbToTransfer, sizeof(abBuf)), &cbRead); 2423 2424 AssertRCBreak(rc); 2424 AssertMsg (cbRead > 0, ("Nothing read from sink, even if %#RX32 bytes were (still) announced\n", cbToTransfer));2425 AssertMsgBreak(cbRead > 0, ("Nothing read from sink, even if %#RX32 bytes were (still) announced\n", cbToTransfer)); 2425 2426 2426 2427 /* Write it to the internal DMA buffer. */
Note:
See TracChangeset
for help on using the changeset viewer.