Changeset 89692 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Jun 14, 2021 8:54:07 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145140
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r89691 r89692 1320 1320 */ 1321 1321 static void ichac97R3StreamUpdateDma(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STATER3 pThisCC, 1322 PAC97STREAM pStream, PAC97STREAMR3 pStreamCC) 1323 { 1324 /* 1325 * Make sure we're running and got an active mixer sink. 1326 */ 1327 PAUDMIXSINK pSink = ichac97R3IndexToSink(pThisCC, pStream->u8SD); /** @todo caller will need + check this too afterwards... */ 1328 AssertPtr(pSink); 1329 if (RT_LIKELY(AudioMixerSinkIsActive(pSink))) 1330 { /* likely */ } 1331 else 1332 return; 1333 1322 PAC97STREAM pStream, PAC97STREAMR3 pStreamCC, PAUDMIXSINK pSink) 1323 { 1324 RT_NOREF(pThisCC); 1334 1325 int rc2; 1335 1326 … … 2551 2542 if (pSink && AudioMixerSinkIsActive(pSink)) 2552 2543 { 2553 ichac97R3StreamUpdateDma(pDevIns, pThis, pThisCC, pStream, pStreamCC );2544 ichac97R3StreamUpdateDma(pDevIns, pThis, pThisCC, pStream, pStreamCC, pSink); 2554 2545 2555 2546 ichac97R3StreamTransferUpdate(pDevIns, pStream, pStreamCC);
Note:
See TracChangeset
for help on using the changeset viewer.