Changeset 74058 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Sep 4, 2018 9:12:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r74033 r74058 1390 1390 if (!pThis->pHostDrvAudio) 1391 1391 { 1392 rc = VERR_ AUDIO_STREAM_NOT_READY;1392 rc = VERR_PDM_NO_ATTACHED_DRIVER; 1393 1393 break; 1394 1394 } … … 1763 1763 if (!pThis->pHostDrvAudio) 1764 1764 { 1765 rc = VERR_ AUDIO_STREAM_NOT_READY;1765 rc = VERR_PDM_NO_ATTACHED_DRIVER; 1766 1766 break; 1767 1767 } … … 2683 2683 } 2684 2684 else 2685 AssertFailed();2685 rc = VERR_PDM_NO_ATTACHED_DRIVER; 2686 2686 2687 2687 int rc2 = RTCritSectLeave(&pThis->CritSect); … … 2741 2741 uint32_t cbReadable = 0; 2742 2742 2743 if (DrvAudioHlpStreamStatusCanRead(pStream->fStatus)) 2743 if ( pThis->pHostDrvAudio 2744 && DrvAudioHlpStreamStatusCanRead(pStream->fStatus)) 2744 2745 { 2745 2746 const uint32_t cfReadable = AudioMixBufLive(&pStream->Guest.MixBuf);
Note:
See TracChangeset
for help on using the changeset viewer.