VirtualBox

Changeset 89062 in vbox for trunk


Ignore:
Timestamp:
May 16, 2021 7:57:58 PM (4 years ago)
Author:
vboxsync
Message:

AudioHlp/AudioHlpStreamCfgIsValid: Don't be difficult about the enmLayout. bugref:9890

File:
1 edited

Legend:

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

    r88357 r89062  
    188188                || pCfg->enmDir == PDMAUDIODIR_OUT)
    189189            {
     190                /* As stated elsewhere, the following is non-sense and must be eliminated. */
    190191                if (   pCfg->enmLayout == PDMAUDIOSTREAMLAYOUT_NON_INTERLEAVED
     192                    || pCfg->enmLayout == PDMAUDIOSTREAMLAYOUT_INTERLEAVED
    191193                    || pCfg->enmLayout == PDMAUDIOSTREAMLAYOUT_RAW)
    192194                    return AudioHlpPcmPropsAreValid(&pCfg->Props);
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