VirtualBox

Changeset 82579 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Dec 13, 2019 1:54:24 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135459
Message:

Audio: Make sure to only set a new recording source if the backend in question is ready for it; otherwise stay with current settings. bugref:9625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r82255 r82579  
    161161
    162162    if (!pDrv->pConsoleVRDPServer)
    163         return VINF_SUCCESS;
     163    {
     164        LogRel(("Audio: VRDP console not ready yet\n"));
     165        return VERR_AUDIO_STREAM_NOT_READY;
     166    }
    164167
    165168    int rc;
     
    176179            if (rc == VERR_NOT_SUPPORTED)
    177180            {
    178                 LogRel2(("Audio: No VRDE client connected, so no input recording available\n"));
    179                 rc = VINF_SUCCESS;
     181                LogRel(("Audio: No VRDE client connected, so no input recording available\n"));
     182                rc = VERR_AUDIO_STREAM_NOT_READY;
    180183            }
    181184
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