VirtualBox

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


Ignore:
Timestamp:
Feb 24, 2021 9:09:18 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142927
Message:

Audio/Mixer: Follow-up fix for r142918; fixed mixer flags validation mask.

File:
1 edited

Legend:

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

    r87856 r87857  
    225225{
    226226    AssertPtrReturn(pcszName, VERR_INVALID_POINTER);
    227     AssertReturn   (fFlags & AUDMIXER_FLAGS_VALID_MASK, VERR_INVALID_PARAMETER);
     227    AssertReturn   (!(fFlags & ~AUDMIXER_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER);
    228228    AssertPtrReturn(ppMixer, VERR_INVALID_POINTER);
    229229
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