Index: /trunk/include/VBox/vmm/pdmaudioifs.h
===================================================================
--- /trunk/include/VBox/vmm/pdmaudioifs.h	(revision 88723)
+++ /trunk/include/VBox/vmm/pdmaudioifs.h	(revision 88724)
@@ -899,20 +899,20 @@
 
 
-/** @name PDMAUDIOSTREAMSTS_FLAGS_XXX
+/** @name PDMAUDIOSTREAM_STS_XXX
  * @{ */
 /** No flags being set. */
-#define PDMAUDIOSTREAMSTS_FLAGS_NONE            UINT32_C(0)
+#define PDMAUDIOSTREAM_STS_NONE             UINT32_C(0)
 /** Whether this stream has been initialized by the backend or not. */
-#define PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED     RT_BIT_32(0)
+#define PDMAUDIOSTREAM_STS_INITIALIZED      RT_BIT_32(0)
 /** Whether this stream is enabled or disabled. */
-#define PDMAUDIOSTREAMSTS_FLAGS_ENABLED         RT_BIT_32(1)
+#define PDMAUDIOSTREAM_STS_ENABLED          RT_BIT_32(1)
 /** Whether this stream has been paused or not. This also implies
  *  that this is an enabled stream! */
-#define PDMAUDIOSTREAMSTS_FLAGS_PAUSED          RT_BIT_32(2)
+#define PDMAUDIOSTREAM_STS_PAUSED           RT_BIT_32(2)
 /** Indicates that the stream is draining (output only).
  *  Whether this stream was marked as being disabled
  *  but there are still associated guest output streams
  *  which rely on its data. */
-#define PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE RT_BIT_32(3)
+#define PDMAUDIOSTREAM_STS_PENDING_DISABLE  RT_BIT_32(3)
 /** Whether this stream is in re-initialization phase and requires the device
  *  to call pfnStreamReInit.
@@ -920,9 +920,9 @@
  *  All other bits remain untouched to be able to restore the stream's state
  *  after the re-initialization has been completed. */
-#define PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT     RT_BIT_32(4)
+#define PDMAUDIOSTREAM_STS_NEED_REINIT      RT_BIT_32(4)
 /** Validation mask. */
-#define PDMAUDIOSTREAMSTS_VALID_MASK            UINT32_C(0x0000001F)
-/** Stream status flag, PDMAUDIOSTREAMSTS_FLAGS_XXX. */
-typedef uint32_t PDMAUDIOSTREAMSTS;
+#define PDMAUDIOSTREAM_STS_VALID_MASK       UINT32_C(0x0000001F)
+/** Stream status flag, PDMAUDIOSTREAM_STS_XXX. */
+typedef uint32_t uint32_t;
 /** @} */
 
@@ -975,5 +975,5 @@
     uint32_t volatile       cRefs;
     /** Stream status flag. */
-    PDMAUDIOSTREAMSTS       fStatus;
+    uint32_t       fStatus;
     /** Audio direction of this stream. */
     PDMAUDIODIR             enmDir;
@@ -1092,5 +1092,5 @@
 
     /**
-     * Re-initializes the stream in response to PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT.
+     * Re-initializes the stream in response to PDMAUDIOSTREAM_STS_NEED_REINIT.
      *
      * @returns VBox status code.
@@ -1162,5 +1162,5 @@
      * @param   pStream         Pointer to audio stream.
      */
-    DECLR3CALLBACKMEMBER(PDMAUDIOSTREAMSTS, pfnStreamGetStatus, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream));
+    DECLR3CALLBACKMEMBER(uint32_t, pfnStreamGetStatus, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream));
 
     /**
@@ -1375,9 +1375,9 @@
      * Returns the current status of the given backend stream.
      *
-     * @returns PDMAUDIOSTREAMSTS
+     * @returns uint32_t
      * @param   pInterface          Pointer to the interface structure containing the called function pointer.
      * @param   pStream             Pointer to audio stream.
      */
-    DECLR3CALLBACKMEMBER(PDMAUDIOSTREAMSTS, pfnStreamGetStatus, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream));
+    DECLR3CALLBACKMEMBER(uint32_t, pfnStreamGetStatus, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream));
 
     /**
Index: /trunk/include/VBox/vmm/pdmaudioinline.h
===================================================================
--- /trunk/include/VBox/vmm/pdmaudioinline.h	(revision 88723)
+++ /trunk/include/VBox/vmm/pdmaudioinline.h	(revision 88724)
@@ -422,20 +422,20 @@
  *
  * @returns @c true if ready to be read from, @c false if not.
- * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAMSTS_FLAGS_XXX.
- */
-DECLINLINE(bool) PDMAudioStrmStatusCanRead(PDMAUDIOSTREAMSTS fStatus)
-{
-    AssertReturn(fStatus & PDMAUDIOSTREAMSTS_VALID_MASK, false);
+ * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAM_STS_XXX.
+ */
+DECLINLINE(bool) PDMAudioStrmStatusCanRead(uint32_t fStatus)
+{
+    AssertReturn(fStatus & PDMAUDIOSTREAM_STS_VALID_MASK, false);
     /*
-    return      fStatus & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-           &&   fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED
-           && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PAUSED)
+    return      fStatus & PDMAUDIOSTREAM_STS_INITIALIZED
+           &&   fStatus & PDMAUDIOSTREAM_STS_ENABLED
+           && !(fStatus & PDMAUDIOSTREAM_STS_PAUSED)
            && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_REINIT);*/
-    return (fStatus & (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-                       | PDMAUDIOSTREAMSTS_FLAGS_ENABLED
-                       | PDMAUDIOSTREAMSTS_FLAGS_PAUSED
-                       | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT ))
-        == (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-            | PDMAUDIOSTREAMSTS_FLAGS_ENABLED);
+    return (fStatus & (  PDMAUDIOSTREAM_STS_INITIALIZED
+                       | PDMAUDIOSTREAM_STS_ENABLED
+                       | PDMAUDIOSTREAM_STS_PAUSED
+                       | PDMAUDIOSTREAM_STS_NEED_REINIT ))
+        == (  PDMAUDIOSTREAM_STS_INITIALIZED
+            | PDMAUDIOSTREAM_STS_ENABLED);
 }
 
@@ -444,22 +444,22 @@
  *
  * @returns @c true if ready to be written to, @c false if not.
- * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAMSTS_FLAGS_XXX.
- */
-DECLINLINE(bool) PDMAudioStrmStatusCanWrite(PDMAUDIOSTREAMSTS fStatus)
-{
-    AssertReturn(fStatus & PDMAUDIOSTREAMSTS_VALID_MASK, false);
+ * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAM_STS_XXX.
+ */
+DECLINLINE(bool) PDMAudioStrmStatusCanWrite(uint32_t fStatus)
+{
+    AssertReturn(fStatus & PDMAUDIOSTREAM_STS_VALID_MASK, false);
     /*
-    return      fStatus & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-           &&   fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED
-           && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PAUSED)
-           && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE)
+    return      fStatus & PDMAUDIOSTREAM_STS_INITIALIZED
+           &&   fStatus & PDMAUDIOSTREAM_STS_ENABLED
+           && !(fStatus & PDMAUDIOSTREAM_STS_PAUSED)
+           && !(fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE)
            && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_REINIT);*/
-    return (fStatus & (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-                       | PDMAUDIOSTREAMSTS_FLAGS_ENABLED
-                       | PDMAUDIOSTREAMSTS_FLAGS_PAUSED
-                       | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE
-                       | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT))
-        == (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-            | PDMAUDIOSTREAMSTS_FLAGS_ENABLED);
+    return (fStatus & (  PDMAUDIOSTREAM_STS_INITIALIZED
+                       | PDMAUDIOSTREAM_STS_ENABLED
+                       | PDMAUDIOSTREAM_STS_PAUSED
+                       | PDMAUDIOSTREAM_STS_PENDING_DISABLE
+                       | PDMAUDIOSTREAM_STS_NEED_REINIT))
+        == (  PDMAUDIOSTREAM_STS_INITIALIZED
+            | PDMAUDIOSTREAM_STS_ENABLED);
 }
 
@@ -468,18 +468,18 @@
  *
  * @returns @c true if ready to operate, @c false if not.
- * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAMSTS_FLAGS_XXX.
- */
-DECLINLINE(bool) PDMAudioStrmStatusIsReady(PDMAUDIOSTREAMSTS fStatus)
-{
-    AssertReturn(fStatus & PDMAUDIOSTREAMSTS_VALID_MASK, false);
+ * @param   fStatus     Stream status to evaluate, PDMAUDIOSTREAM_STS_XXX.
+ */
+DECLINLINE(bool) PDMAudioStrmStatusIsReady(uint32_t fStatus)
+{
+    AssertReturn(fStatus & PDMAUDIOSTREAM_STS_VALID_MASK, false);
     /*
-    return      fStatus & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-           &&   fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED
+    return      fStatus & PDMAUDIOSTREAM_STS_INITIALIZED
+           &&   fStatus & PDMAUDIOSTREAM_STS_ENABLED
            && !(fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_REINIT);*/
-    return (fStatus & (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-                       | PDMAUDIOSTREAMSTS_FLAGS_ENABLED
-                       | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT))
-        == (  PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED
-            | PDMAUDIOSTREAMSTS_FLAGS_ENABLED);
+    return (fStatus & (  PDMAUDIOSTREAM_STS_INITIALIZED
+                       | PDMAUDIOSTREAM_STS_ENABLED
+                       | PDMAUDIOSTREAM_STS_NEED_REINIT))
+        == (  PDMAUDIOSTREAM_STS_INITIALIZED
+            | PDMAUDIOSTREAM_STS_ENABLED);
 }
 
Index: /trunk/src/VBox/Devices/Audio/AudioMixer.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/AudioMixer.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/AudioMixer.cpp	(revision 88724)
@@ -1734,6 +1734,6 @@
             if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED)
             {
-                PDMAUDIOSTREAMSTS const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
-                if (fSts & (PDMAUDIOSTREAMSTS_FLAGS_ENABLED | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))
+                uint32_t const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
+                if (fSts & (PDMAUDIOSTREAM_STS_ENABLED | PDMAUDIOSTREAM_STS_PENDING_DISABLE))
                     cStreamsDisabled--;
             }
@@ -1899,6 +1899,6 @@
             if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED)
             {
-                PDMAUDIOSTREAMSTS const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
-                if (fSts & (PDMAUDIOSTREAMSTS_FLAGS_ENABLED | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))
+                uint32_t const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
+                if (fSts & (PDMAUDIOSTREAM_STS_ENABLED | PDMAUDIOSTREAM_STS_PENDING_DISABLE))
                     cStreamsDisabled--;
             }
@@ -2103,5 +2103,5 @@
          */
         uint32_t fStreamStatus = pConn->pfnStreamGetStatus(pConn, pStream);
-        if (!(fStreamStatus & PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT))
+        if (!(fStreamStatus & PDMAUDIOSTREAM_STS_NEED_REINIT))
         { /* likely */ }
         else
@@ -2279,8 +2279,6 @@
     if (   pMixStream->pConn
         && pMixStream->pStream
-        && RT_BOOL(pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAMSTS_FLAGS_ENABLED))
-    {
+        && (pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAM_STS_ENABLED))
         fIsActive = true;
-    }
     else
         fIsActive = false;
@@ -2311,8 +2309,6 @@
     if (   pMixStream->pConn
         && pMixStream->pStream
-        && RT_BOOL(pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED))
-    {
+        && (pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAM_STS_INITIALIZED))
         fIsValid = true;
-    }
     else
         fIsValid = false;
Index: /trunk/src/VBox/Devices/Audio/DrvAudio.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvAudio.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvAudio.cpp	(revision 88724)
@@ -326,5 +326,5 @@
  * @param   fStatus     Stream status flags to convert.
  */
-static const char *dbgAudioStreamStatusToStr(char pszDst[DRVAUDIO_STATUS_STR_MAX], PDMAUDIOSTREAMSTS fStatus)
+static const char *dbgAudioStreamStatusToStr(char pszDst[DRVAUDIO_STATUS_STR_MAX], uint32_t fStatus)
 {
     static const struct
@@ -332,12 +332,12 @@
         const char         *pszMnemonic;
         uint32_t            cchMnemnonic;
-        PDMAUDIOSTREAMSTS   fFlag;
+        uint32_t   fFlag;
     } s_aFlags[] =
     {
-        { RT_STR_TUPLE("INITIALIZED "),     PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED     },
-        { RT_STR_TUPLE("ENABLED "),         PDMAUDIOSTREAMSTS_FLAGS_ENABLED         },
-        { RT_STR_TUPLE("PAUSED "),          PDMAUDIOSTREAMSTS_FLAGS_PAUSED          },
-        { RT_STR_TUPLE("PENDING_DISABLE "), PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE },
-        { RT_STR_TUPLE("NEED_REINIT "),     PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT     },
+        { RT_STR_TUPLE("INITIALIZED "),     PDMAUDIOSTREAM_STS_INITIALIZED     },
+        { RT_STR_TUPLE("ENABLED "),         PDMAUDIOSTREAM_STS_ENABLED         },
+        { RT_STR_TUPLE("PAUSED "),          PDMAUDIOSTREAM_STS_PAUSED          },
+        { RT_STR_TUPLE("PENDING_DISABLE "), PDMAUDIOSTREAM_STS_PENDING_DISABLE },
+        { RT_STR_TUPLE("NEED_REINIT "),     PDMAUDIOSTREAM_STS_NEED_REINIT     },
     };
     if (!fStatus)
@@ -428,5 +428,5 @@
     LogFunc(("[%s]\n", pStreamEx->Core.szName));
 
-    pStreamEx->Core.fStatus        = PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
+    pStreamEx->Core.fStatus        = PDMAUDIOSTREAM_STS_INITIALIZED;
     pStreamEx->Core.fWarningsShown = PDMAUDIOSTREAM_WARN_FLAGS_NONE;
 
@@ -469,9 +469,9 @@
             && pStreamEx->Core.cRefs >= 1)
         {
-            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE)
+            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE)
             {
                 drvAudioStreamIterateInternal(pThis, pStreamEx);
 
-                if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE)
+                if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE)
                     cMilliesToNext = 10;
             }
@@ -995,5 +995,5 @@
                                                PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)
 {
-    AssertMsg((pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED) == 0,
+    AssertMsg((pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_INITIALIZED) == 0,
               ("Stream '%s' already initialized in backend\n", pStreamEx->Core.szName));
 
@@ -1083,5 +1083,5 @@
                     VERR_INVALID_PARAMETER);
 
-    pStreamEx->Core.fStatus |= PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
+    pStreamEx->Core.fStatus |= PDMAUDIOSTREAM_STS_INITIALIZED;
 
     return VINF_SUCCESS;
@@ -1487,5 +1487,5 @@
     LogFunc(("[%s] fStatus=%s\n", pStreamEx->Core.szName, dbgAudioStreamStatusToStr(szStreamSts, pStreamEx->Core.fStatus)));
 
-    if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED)
+    if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_INITIALIZED)
     {
         AssertPtr(pStreamEx->pBackend);
@@ -1496,5 +1496,5 @@
             rc = pThis->pHostDrvAudio->pfnStreamDestroy(pThis->pHostDrvAudio, pStreamEx->pBackend);
 
-        pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
+        pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAM_STS_INITIALIZED;
     }
 
@@ -1546,5 +1546,5 @@
     {
 #ifdef LOG_ENABLED
-        if (pStreamEx->Core.fStatus != PDMAUDIOSTREAMSTS_FLAGS_NONE)
+        if (pStreamEx->Core.fStatus != PDMAUDIOSTREAM_STS_NONE)
         {
             char szStreamSts[DRVAUDIO_STATUS_STR_MAX];
@@ -1553,5 +1553,5 @@
         }
 #endif
-        pStreamEx->Core.fStatus = PDMAUDIOSTREAMSTS_FLAGS_NONE;
+        pStreamEx->Core.fStatus = PDMAUDIOSTREAM_STS_NONE;
     }
 
@@ -1661,5 +1661,5 @@
      * Gather current stream status.
      */
-    const bool fIsEnabled = RT_BOOL(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED); /* Stream is enabled? */
+    const bool fIsEnabled = RT_BOOL(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_ENABLED); /* Stream is enabled? */
 
     /*
@@ -1712,5 +1712,5 @@
     AssertReturn(pStreamEx->Core.uMagic == PDMAUDIOSTREAM_MAGIC, VERR_INVALID_MAGIC);
     AssertReturn(pStreamEx->uMagic == DRVAUDIOSTREAM_MAGIC, VERR_INVALID_MAGIC);
-    AssertReturn(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT, VERR_INVALID_STATE);
+    AssertReturn(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_NEED_REINIT, VERR_INVALID_STATE);
     LogFlowFunc(("\n"));
 
@@ -1718,5 +1718,5 @@
     AssertRCReturn(rc, rc);
 
-    if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT)
+    if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_NEED_REINIT)
     {
         const unsigned cMaxTries = 3; /** @todo Make this configurable? */
@@ -1749,5 +1749,5 @@
             {
                 /* Remove the pending re-init flag on success. */
-                pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT;
+                pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAM_STS_NEED_REINIT;
             }
             else
@@ -1767,5 +1767,5 @@
 
                 /* Don't try to re-initialize anymore and mark as disabled. */
-                pStreamEx->Core.fStatus &= ~(PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT | PDMAUDIOSTREAMSTS_FLAGS_ENABLED);
+                pStreamEx->Core.fStatus &= ~(PDMAUDIOSTREAM_STS_NEED_REINIT | PDMAUDIOSTREAM_STS_ENABLED);
 
                 /* Note: Further writes to this stream go to / will be read from the bit bucket (/dev/null) from now on. */
@@ -1955,8 +1955,8 @@
         case PDMAUDIOSTREAMCMD_ENABLE:
         {
-            if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED))
+            if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_ENABLED))
             {
                 /* Is a pending disable outstanding? Then disable first. */
-                if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE)
+                if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE)
                     rc = drvAudioStreamControlInternalBackend(pThis, pStreamEx, PDMAUDIOSTREAMCMD_DISABLE);
 
@@ -1965,5 +1965,5 @@
 
                 if (RT_SUCCESS(rc))
-                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAM_STS_ENABLED;
             }
             break;
@@ -1972,5 +1972,5 @@
         case PDMAUDIOSTREAMCMD_DISABLE:
         {
-            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED)
+            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_ENABLED)
             {
                 /*
@@ -1982,5 +1982,5 @@
                 {
                     LogFunc(("[%s] Pending disable/pause\n", pStreamEx->Core.szName));
-                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE;
+                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAM_STS_PENDING_DISABLE;
 
                     /* Schedule a follow up timer to the pending-disable state.  We cannot rely
@@ -1998,5 +1998,5 @@
 
                 /* Can we close the host stream as well (not in pending disable mode)? */
-                if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))
+                if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE))
                 {
                     rc = drvAudioStreamControlInternalBackend(pThis, pStreamEx, PDMAUDIOSTREAMCMD_DISABLE);
@@ -2010,9 +2010,9 @@
         case PDMAUDIOSTREAMCMD_PAUSE:
         {
-            if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PAUSED))
+            if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PAUSED))
             {
                 rc = drvAudioStreamControlInternalBackend(pThis, pStreamEx, PDMAUDIOSTREAMCMD_PAUSE);
                 if (RT_SUCCESS(rc))
-                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAMSTS_FLAGS_PAUSED;
+                    pStreamEx->Core.fStatus |= PDMAUDIOSTREAM_STS_PAUSED;
             }
             break;
@@ -2021,9 +2021,9 @@
         case PDMAUDIOSTREAMCMD_RESUME:
         {
-            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PAUSED)
+            if (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PAUSED)
             {
                 rc = drvAudioStreamControlInternalBackend(pThis, pStreamEx, PDMAUDIOSTREAMCMD_RESUME);
                 if (RT_SUCCESS(rc))
-                    pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAMSTS_FLAGS_PAUSED;
+                    pStreamEx->Core.fStatus &= ~PDMAUDIOSTREAM_STS_PAUSED;
             }
             break;
@@ -2146,5 +2146,5 @@
          * Try play "Windows Navigation Start.wav" on Windows 7 (2824 samples).
          */
-        else if (   (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE)
+        else if (   (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE)
                  && pStreamEx->Out.cbPreBuffered > 0)
         {
@@ -2278,6 +2278,6 @@
 
     /* Not enabled or paused? Skip iteration. */
-    if (   !(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_ENABLED)
-        ||  (pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PAUSED))
+    if (   !(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_ENABLED)
+        ||  (pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PAUSED))
     {
         return VINF_SUCCESS;
@@ -2288,5 +2288,5 @@
      */
     int rc = VINF_SUCCESS;
-    if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))
+    if (!(pStreamEx->Core.fStatus & PDMAUDIOSTREAM_STS_PENDING_DISABLE))
     { /* likely until we get to the end of the stream at least. */ }
     else
@@ -2348,5 +2348,5 @@
                     if (RT_SUCCESS(rc))
                     {
-                        pStreamEx->Core.fStatus &= ~(PDMAUDIOSTREAMSTS_FLAGS_ENABLED | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE);
+                        pStreamEx->Core.fStatus &= ~(PDMAUDIOSTREAM_STS_ENABLED | PDMAUDIOSTREAM_STS_PENDING_DISABLE);
                         drvAudioStreamDropInternal(pThis, pStreamEx); /* Not a DROP command, just a stream reset. */
                     }
@@ -2441,5 +2441,5 @@
              * Reading the actual data from a stream then will return silence then.
              */
-            PDMAUDIOSTREAMSTS fStatus = PDMAUDIOSTREAMSTS_FLAGS_NONE;
+            uint32_t fStatus = PDMAUDIOSTREAM_STS_NONE;
             if (pThis->pHostDrvAudio->pfnStreamGetStatus)
                 fStatus = pThis->pHostDrvAudio->pfnStreamGetStatus(pThis->pHostDrvAudio, pStreamEx->pBackend);
@@ -2545,5 +2545,5 @@
  * @interface_method_impl{PDMIAUDIOCONNECTOR,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvAudioStreamGetStatus(PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvAudioStreamGetStatus(PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream)
 {
     PDRVAUDIO pThis = RT_FROM_MEMBER(pInterface, DRVAUDIO, IAudioConnector);
@@ -2553,14 +2553,14 @@
      *        this necessary? */
     if (!pStream)
-        return PDMAUDIOSTREAMSTS_FLAGS_NONE;
+        return PDMAUDIOSTREAM_STS_NONE;
     PDRVAUDIOSTREAM pStreamEx = (PDRVAUDIOSTREAM)pStream;
-    AssertPtrReturn(pStreamEx, PDMAUDIOSTREAMSTS_FLAGS_NONE);
-    AssertReturn(pStreamEx->Core.uMagic == PDMAUDIOSTREAM_MAGIC, PDMAUDIOSTREAMSTS_FLAGS_NONE);
-    AssertReturn(pStreamEx->uMagic      == DRVAUDIOSTREAM_MAGIC, PDMAUDIOSTREAMSTS_FLAGS_NONE);
+    AssertPtrReturn(pStreamEx, PDMAUDIOSTREAM_STS_NONE);
+    AssertReturn(pStreamEx->Core.uMagic == PDMAUDIOSTREAM_MAGIC, PDMAUDIOSTREAM_STS_NONE);
+    AssertReturn(pStreamEx->uMagic      == DRVAUDIOSTREAM_MAGIC, PDMAUDIOSTREAM_STS_NONE);
 
     int rc = RTCritSectEnter(&pThis->CritSect);
-    AssertRCReturn(rc, PDMAUDIOSTREAMSTS_FLAGS_NONE);
-
-    PDMAUDIOSTREAMSTS fStrmStatus = pStreamEx->Core.fStatus;
+    AssertRCReturn(rc, PDMAUDIOSTREAM_STS_NONE);
+
+    uint32_t fStrmStatus = pStreamEx->Core.fStatus;
 
     RTCritSectLeave(&pThis->CritSect);
@@ -3047,5 +3047,5 @@
     RTListForEach(&pThis->lstStreams, pStreamEx, DRVAUDIOSTREAM, ListEntry)
     {
-        pStreamEx->Core.fStatus |= PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT;
+        pStreamEx->Core.fStatus |= PDMAUDIOSTREAM_STS_NEED_REINIT;
         pStreamEx->cTriesReInit  = 0;
         pStreamEx->nsLastReInit  = 0;
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp	(revision 88724)
@@ -1120,9 +1120,9 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostAlsaAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostAlsaAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface, pStream);
 
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp	(revision 88724)
@@ -2426,5 +2426,5 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostCoreAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostCoreAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface);
@@ -2433,10 +2433,10 @@
     PCOREAUDIOSTREAM pCAStream = (PCOREAUDIOSTREAM)pStream;
 
-    PDMAUDIOSTREAMSTS fStrmStatus = PDMAUDIOSTREAMSTS_FLAGS_NONE;
+    uint32_t fStrmStatus = PDMAUDIOSTREAM_STS_NONE;
 
     if (pCAStream->pCfg) /* Configured?  */
     {
         if (ASMAtomicReadU32(&pCAStream->enmStatus) == COREAUDIOSTATUS_INIT)
-            fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+            fStrmStatus |= PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
     }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp	(revision 88724)
@@ -2404,13 +2404,13 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostDSoundHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostDSoundHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface);
     PDSOUNDSTREAM pStreamDS = (PDSOUNDSTREAM)pStream;
-    AssertPtrReturn(pStreamDS, PDMAUDIOSTREAMSTS_FLAGS_NONE);
-
-    PDMAUDIOSTREAMSTS fStrmStatus = PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
+    AssertPtrReturn(pStreamDS, PDMAUDIOSTREAM_STS_NONE);
+
+    uint32_t fStrmStatus = PDMAUDIOSTREAM_STS_INITIALIZED;
     if (pStreamDS->fEnabled)
-        fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+        fStrmStatus |= PDMAUDIOSTREAM_STS_ENABLED;
 
     LogFlowFunc(("returns %#x for '%s' {%s}\n", fStrmStatus, pStreamDS->Cfg.szName, drvHostDSoundStreamStatusString(pStreamDS)));
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp	(revision 88724)
@@ -263,8 +263,8 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetWritable}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostDebugAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostDebugAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface, pStream);
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioNull.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioNull.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioNull.cpp	(revision 88724)
@@ -183,8 +183,8 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostNullAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
-{
-    RT_NOREF(pInterface, pStream);
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+static DECLCALLBACK(uint32_t) drvHostNullAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+{
+    RT_NOREF(pInterface, pStream);
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp	(revision 88724)
@@ -701,8 +701,8 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostOssAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostOssAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface, pStream);
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp	(revision 88724)
@@ -1549,5 +1549,5 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostAudioPaHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostAudioPaHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     PDRVHOSTPULSEAUDIO pThis = RT_FROM_MEMBER(pInterface, DRVHOSTPULSEAUDIO, IHostAudio);
@@ -1561,5 +1561,5 @@
         {
             /** @todo should we check the actual stream state? */
-            return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+            return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
         }
         LogFunc(("non-good context state: %d\n", enmState));
@@ -1567,5 +1567,5 @@
     else
         LogFunc(("No context!\n"));
-    return PDMAUDIOSTREAMSTS_FLAGS_NONE;
+    return PDMAUDIOSTREAM_STS_NONE;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp	(revision 88724)
@@ -334,9 +334,8 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostValKitAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface,
-                                                                            PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostValKitAudioHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface, pStream);
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Devices/Audio/DrvHostAudioWasApi.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvHostAudioWasApi.cpp	(revision 88723)
+++ /trunk/src/VBox/Devices/Audio/DrvHostAudioWasApi.cpp	(revision 88724)
@@ -2081,17 +2081,17 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvHostAudioWasHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvHostAudioWasHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface);
     PDRVHOSTAUDIOWASSTREAM pStreamWas = (PDRVHOSTAUDIOWASSTREAM)pStream;
-    AssertPtrReturn(pStreamWas, PDMAUDIOSTREAMSTS_FLAGS_NONE);
-
-    PDMAUDIOSTREAMSTS fStrmStatus = PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
+    AssertPtrReturn(pStreamWas, PDMAUDIOSTREAM_STS_NONE);
+
+    uint32_t fStrmStatus = PDMAUDIOSTREAM_STS_INITIALIZED;
     if (pStreamWas->fEnabled)
-        fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+        fStrmStatus |= PDMAUDIOSTREAM_STS_ENABLED;
     if (pStreamWas->fDraining)
-        fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE;
+        fStrmStatus |= PDMAUDIOSTREAM_STS_PENDING_DISABLE;
     if (pStreamWas->fRestartOnResume)
-        fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_PAUSED;
+        fStrmStatus |= PDMAUDIOSTREAM_STS_PAUSED;
 
     LogFlowFunc(("returns %#x for '%s' {%s}\n", fStrmStatus, pStreamWas->Cfg.szName, drvHostWasStreamStatusString(pStreamWas)));
Index: /trunk/src/VBox/Main/src-client/DrvAudioRec.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DrvAudioRec.cpp	(revision 88723)
+++ /trunk/src/VBox/Main/src-client/DrvAudioRec.cpp	(revision 88724)
@@ -611,9 +611,8 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvAudioVideoRecHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface,
-                                                                          PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvAudioVideoRecHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     RT_NOREF(pInterface, pStream);
-    return PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED | PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+    return PDMAUDIOSTREAM_STS_INITIALIZED | PDMAUDIOSTREAM_STS_ENABLED;
 }
 
Index: /trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp	(revision 88723)
+++ /trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp	(revision 88724)
@@ -531,13 +531,12 @@
  * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus}
  */
-static DECLCALLBACK(PDMAUDIOSTREAMSTS) drvAudioVrdeHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
+static DECLCALLBACK(uint32_t) drvAudioVrdeHA_StreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)
 {
     PDRVAUDIOVRDE pDrv = RT_FROM_MEMBER(pInterface, DRVAUDIOVRDE, IHostAudio);
     RT_NOREF(pStream);
 
-    PDMAUDIOSTREAMSTS fStrmStatus = PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED;
-
+    uint32_t fStrmStatus = PDMAUDIOSTREAM_STS_INITIALIZED;
     if (pDrv->cClients) /* If any clients are connected, flag the stream as enabled. */
-       fStrmStatus |= PDMAUDIOSTREAMSTS_FLAGS_ENABLED;
+       fStrmStatus |= PDMAUDIOSTREAM_STS_ENABLED;
 
     return fStrmStatus;
