VirtualBox

Changeset 73794 in vbox for trunk


Ignore:
Timestamp:
Aug 20, 2018 8:23:03 PM (6 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Don't handle commands not supported by certain backends as errors in AudioMixerSinkCtl().

File:
1 edited

Legend:

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

    r73730 r73794  
    695695            {
    696696                int rc2 = audioMixerStreamCtlInternal(pStream, enmCmdStream, AUDMIXSTRMCTL_FLAG_NONE);
     697                if (rc2 == VERR_NOT_SUPPORTED)
     698                    rc2 = VINF_SUCCESS;
     699
    697700                if (RT_SUCCESS(rc))
    698701                    rc = rc2;
     
    706709        {
    707710            int rc2 = audioMixerStreamCtlInternal(pStream, enmCmdStream, AUDMIXSTRMCTL_FLAG_NONE);
     711            if (rc2 == VERR_NOT_SUPPORTED)
     712                rc2 = VINF_SUCCESS;
     713
    708714            if (RT_SUCCESS(rc))
    709715                rc = 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