VirtualBox

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


Ignore:
Timestamp:
May 12, 2022 2:40:22 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151420
Message:

Audio/SB16: Fixed calls to sb16SpeakerControl() [nits].

File:
1 edited

Legend:

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

    r94993 r94994  
    446446
    447447    sb16DmaCmdContinue8(pDevIns, pThis, pStream);
    448     sb16SpeakerControl(pThis, 1);
     448    sb16SpeakerControl(pThis, true /* fOn */);
    449449}
    450450
     
    506506
    507507    sb16StreamControl(pDevIns, pThis, pStream, true /* fRun */);
    508     sb16SpeakerControl(pThis, 1);
     508    sb16SpeakerControl(pThis, true /* fOn */);
    509509}
    510510
     
    16121612        {
    16131613            sb16StreamControl(pDevIns, pThis, pStream, false /* fRun */);
    1614             sb16SpeakerControl(pThis, 0);
     1614            sb16SpeakerControl(pThis, false /* fOn */);
    16151615        }
    16161616    }
     
    27462746
    27472747    sb16MixerReset(pThis);
    2748     sb16SpeakerControl(pThis, 0);
     2748    sb16SpeakerControl(pThis, false /* fOn */);
    27492749    sb16DspCmdResetLegacy(pThis);
    27502750}
Note: See TracChangeset for help on using the changeset viewer.

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