Changeset 90178 in vbox
- Timestamp:
- Jul 14, 2021 9:55:20 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r90016 r90178 2011 2011 * Don't continue if the frequency is out of range (the rest of the 2012 2012 * properties should be okay). 2013 * Note! Don't assert on this as we may easily end up here with Hz=0. 2013 2014 */ 2014 2015 char szTmp[PDMAUDIOSTRMCFGTOSTRING_MAX]; 2015 ASSERT_GUEST_MSG_RETURN(AudioHlpStreamCfgIsValid(&Cfg), 2016 ("Invalid stream #%u rate: %s\n", pStreamCC->u8SD, 2017 PDMAudioStrmCfgToString(&Cfg, szTmp, sizeof(szTmp)) ), 2018 VERR_OUT_OF_RANGE); 2016 if (AudioHlpStreamCfgIsValid(&Cfg)) 2017 { } 2018 else 2019 { 2020 LogFunc(("Invalid stream #%u rate: %s\n", pStreamCC->u8SD, PDMAudioStrmCfgToString(&Cfg, szTmp, sizeof(szTmp)) )); 2021 return VERR_OUT_OF_RANGE; 2022 } 2019 2023 2020 2024 /*
Note:
See TracChangeset
for help on using the changeset viewer.