VirtualBox

Changeset 68907 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 28, 2017 1:24:47 PM (7 years ago)
Author:
vboxsync
Message:

Audio/AC97: Some drivers might not support all stream types, so relax assertions in ichac97Attach().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r68904 r68907  
    35463546    {
    35473547        if (DrvAudioHlpStreamCfgIsValid(&pThis->StreamLineIn.State.Cfg))
    3548         {
    3549             rc2 = ichac97MixerAddDrvStream(pThis, pThis->pSinkLineIn, &pThis->StreamLineIn.State.Cfg, pDrv);
    3550             AssertRC(rc2);
    3551         }
     3548            ichac97MixerAddDrvStream(pThis, pThis->pSinkLineIn, &pThis->StreamLineIn.State.Cfg, pDrv);
    35523549
    35533550        if (DrvAudioHlpStreamCfgIsValid(&pThis->StreamMicIn.State.Cfg))
    3554         {
    3555             rc2 = ichac97MixerAddDrvStream(pThis, pThis->pSinkMicIn,  &pThis->StreamMicIn.State.Cfg, pDrv);
    3556             AssertRC(rc2);
    3557         }
     3551            ichac97MixerAddDrvStream(pThis, pThis->pSinkMicIn,  &pThis->StreamMicIn.State.Cfg, pDrv);
    35583552
    35593553        if (DrvAudioHlpStreamCfgIsValid(&pThis->StreamOut.State.Cfg))
    3560         {
    3561             rc2 = ichac97MixerAddDrvStream(pThis, pThis->pSinkOut,    &pThis->StreamOut.State.Cfg, pDrv);
    3562             AssertRC(rc2);
    3563         }
     3554            ichac97MixerAddDrvStream(pThis, pThis->pSinkOut,    &pThis->StreamOut.State.Cfg, pDrv);
    35643555    }
    35653556
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette