VirtualBox

Changeset 64350 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 21, 2016 10:17:12 AM (8 years ago)
Author:
vboxsync
Message:

Audio/DevIchAc97.cpp: Fixed warnings in ichac97StreamsInit().

File:
1 edited

Legend:

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

    r64349 r64350  
    679679    int rc = ichac97StreamInit    (&pThis->StreamLineIn, AC97SOUNDSOURCE_PI_INDEX);
    680680    if (RT_SUCCESS(rc))
     681    {
    681682        rc = ichac97StreamInit    (&pThis->StreamMicIn,  AC97SOUNDSOURCE_MC_INDEX);
    682683        if (RT_SUCCESS(rc))
     684        {
    683685            rc = ichac97StreamInit(&pThis->StreamOut,    AC97SOUNDSOURCE_PO_INDEX);
     686        }
     687    }
    684688
    685689    /* Open all streams with the current AC'97 mixer settings. */
     
    688692        rc = ichac97StreamOpen        (pThis, &pThis->StreamLineIn);
    689693        if (RT_SUCCESS(rc))
     694        {
    690695            rc = ichac97StreamOpen    (pThis, &pThis->StreamMicIn);
    691696            if (RT_SUCCESS(rc))
     697            {
    692698                rc = ichac97StreamOpen(pThis, &pThis->StreamOut);
     699            }
     700        }
    693701    }
    694702
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