VirtualBox

Changeset 57200 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Aug 5, 2015 7:15:00 PM (9 years ago)
Author:
vboxsync
Message:

DSound: Fixed variable shadowing.

File:
1 edited

Legend:

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

    r57199 r57200  
    575575    {
    576576        DWORD dwStatus;
    577         int rc = dsoundPlayGetStatus(pDSoundStrmOut->pDSB, &dwStatus);
    578         if (RT_FAILURE(rc))
    579         {
    580             DSLOG(("DSound: playback start GetStatus %Rrc\n", rc));
     577        int rc2 = dsoundPlayGetStatus(pDSoundStrmOut->pDSB, &dwStatus);
     578        if (RT_FAILURE(rc2))
     579        {
     580            DSLOG(("DSound: playback start GetStatus %Rrc\n", rc2));
    581581        }
    582582        else
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