Index: /trunk/src/VBox/Devices/Audio/AudioMixer.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/AudioMixer.cpp	(revision 87856)
+++ /trunk/src/VBox/Devices/Audio/AudioMixer.cpp	(revision 87857)
@@ -225,5 +225,5 @@
 {
     AssertPtrReturn(pcszName, VERR_INVALID_POINTER);
-    AssertReturn   (fFlags & AUDMIXER_FLAGS_VALID_MASK, VERR_INVALID_PARAMETER);
+    AssertReturn   (!(fFlags & ~AUDMIXER_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER);
     AssertPtrReturn(ppMixer, VERR_INVALID_POINTER);
 
