VirtualBox

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


Ignore:
Timestamp:
Aug 7, 2018 11:43:17 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudioVideoRec.cpp: Forgot that file wrt returning VERR_NOT_SUPPORTED instead of asserting in avRecControlStreamOut().

File:
1 edited

Legend:

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

    r73529 r73540  
    571571    RT_NOREF(pThis, pStreamAV);
    572572
     573    int rc;
     574
    573575    switch (enmStreamCmd)
    574576    {
     
    577579        case PDMAUDIOSTREAMCMD_RESUME:
    578580        case PDMAUDIOSTREAMCMD_PAUSE:
     581            rc = VINF_SUCCESS;
    579582            break;
    580583
    581584        default:
    582             AssertMsgFailed(("Invalid command %ld\n", enmStreamCmd));
     585            rc = VERR_NOT_SUPPORTED;
    583586            break;
    584     }
    585 
    586     return VINF_SUCCESS;
     587        }
     588    }
     589
     590    return rc;
    587591}
    588592
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