VirtualBox

Changeset 80608 in vbox


Ignore:
Timestamp:
Sep 5, 2019 3:48:51 PM (5 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Logging tweaks.

File:
1 edited

Legend:

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

    r78510 r80608  
    135135    int rc2 = VINF_SUCCESS;
    136136
    137     do
    138     {
    139         APPEND_FLAG_TO_STR(NONE);
    140         APPEND_FLAG_TO_STR(RUNNING);
    141         APPEND_FLAG_TO_STR(PENDING_DISABLE);
    142         APPEND_FLAG_TO_STR(DIRTY);
    143 
    144     } while (0);
     137    if (fStatus == AUDMIXSINK_STS_NONE) /* This is special, as this is value 0. */
     138    {
     139        rc2 = RTStrAAppend(&pszFlags, "NONE");
     140    }
     141    else
     142    {
     143        do
     144        {
     145            APPEND_FLAG_TO_STR(RUNNING);
     146            APPEND_FLAG_TO_STR(PENDING_DISABLE);
     147            APPEND_FLAG_TO_STR(DIRTY);
     148
     149        } while (0);
     150    }
    145151
    146152    if (   RT_FAILURE(rc2)
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