Changeset 68902 in vbox
- Timestamp:
- Sep 28, 2017 9:23:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r68390 r68902 771 771 && pProps->cChannels <= 8); 772 772 773 AssertMsg(fValid, ("Channel count (%RU8) invalid\n", pProps->cChannels));774 775 773 if (fValid) 776 774 { … … 786 784 break; 787 785 } 788 789 AssertMsg(fValid, ("Bits (%RU8) invalid\n", pProps->cBits));790 786 } 791 787 … … 794 790 795 791 fValid &= pProps->uHz > 0; 796 AssertMsg(fValid, ("Hz (%RU32) invalid\n", pProps->uHz));797 798 792 fValid &= pProps->cShift == PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(pProps->cBits, pProps->cChannels); 799 AssertMsg(fValid, ("Shift (%RU8) invalid\n", pProps->cShift));800 801 793 fValid &= pProps->fSwapEndian == false; /** @todo Handling Big Endian audio data is not supported yet. */ 802 AssertMsg(fValid, ("Swap endian (%RTbool) invalid\n", pProps->fSwapEndian));803 794 804 795 return fValid; … … 862 853 bool fValid = ( pCfg->enmDir == PDMAUDIODIR_IN 863 854 || pCfg->enmDir == PDMAUDIODIR_OUT); 864 AssertMsg(fValid, ("Stream direction not set / invalid\n"));865 855 866 856 fValid &= ( pCfg->enmLayout == PDMAUDIOSTREAMLAYOUT_NON_INTERLEAVED 867 857 || pCfg->enmLayout == PDMAUDIOSTREAMLAYOUT_RAW); 868 AssertMsg(fValid, ("Stream layout not set / invalid\n"));869 858 870 859 if (fValid)
Note:
See TracChangeset
for help on using the changeset viewer.