VirtualBox

Changeset 65741 in vbox


Ignore:
Timestamp:
Feb 10, 2017 4:19:13 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113456
Message:

DevHDA/DevIchAc97: Be forgiving when creating a LUN's audio stream fails and continue.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

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

    r65677 r65741  
    36153615            if (RT_SUCCESS(rc2))
    36163616                pDrvStream->pMixStrm = pMixStrm;
     3617
     3618            /* If creating a stream fails, be forgiving and continue -- don't pass rc2 to rc here. */
    36173619        }
    3618 
    3619         if (RT_SUCCESS(rc))
    3620             rc = rc2;
    36213620
    36223621        if (pStreamCfg)
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r65677 r65741  
    15191519            if (RT_SUCCESS(rc2))
    15201520                pDrvStream->pMixStrm = pMixStrm;
    1521         }
    1522 
    1523         if (RT_SUCCESS(rc))
    1524             rc = rc2;
     1521
     1522            /* If creating a stream fails, be forgiving and continue -- don't pass rc2 to rc here. */
     1523        }
    15251524
    15261525        if (pStreamCfg)
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