Changeset 67606 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 26, 2017 12:41:12 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116367
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r65738 r67606 787 787 * Returns @c true if properties are valid, @c false if not. 788 788 * @param pProps PCM properties to check. 789 *790 * @remarks Does *not* support surround (> 2 channels) yet! This is intentional, as791 * we consider surround support as experimental / not enabled by default for now.792 789 */ 793 790 bool DrvAudioHlpPCMPropsAreValid(const PPDMAUDIOPCMPROPS pProps) … … 795 792 AssertPtrReturn(pProps, false); 796 793 797 bool fValid = ( pProps->cChannels == 1 798 || pProps->cChannels == 2); /* Either stereo (2) or mono (1), per stream. */ 794 /* Minimum 1 channel (mono), maximum 7.1 (= 8) channels. */ 795 bool fValid = ( pProps->cChannels >= 1 796 && pProps->cChannels <= 8); 799 797 800 798 if (fValid) … … 874 872 * Returns @c true if configuration is valid, @c false if not. 875 873 * @param pCfg Stream configuration to check. 876 *877 * @remarks Does *not* support surround (> 2 channels) yet! This is intentional, as878 * we consider surround support as experimental / not enabled by default for now.879 874 */ 880 875 bool DrvAudioHlpStreamCfgIsValid(const PPDMAUDIOSTREAMCFG pCfg)
Note:
See TracChangeset
for help on using the changeset viewer.