VirtualBox

Changeset 73465 in vbox for trunk/src


Ignore:
Timestamp:
Aug 3, 2018 9:38:01 AM (6 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Added a debug assertion for checking the given PCM properties in AudioMixerSinkSetFormat().

File:
1 edited

Legend:

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

    r73432 r73465  
    13821382    AssertPtrReturn(pSink,     VERR_INVALID_POINTER);
    13831383    AssertPtrReturn(pPCMProps, VERR_INVALID_POINTER);
     1384    AssertReturn(DrvAudioHlpPCMPropsAreValid(pPCMProps), VERR_INVALID_PARAMETER);
    13841385
    13851386    int rc = RTCritSectEnter(&pSink->CritSect);
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