The following two assertions are redundant.
|
assert((fs == 24000 || fs == 32000 || fs == 48000 || fs == 96000 || |
|
fs == 22050 || fs == 44100 || fs == 88200) && |
|
"Bad Fs"); |
|
assert(false && "Wrong parameter validation"); |
We should remove the former one, and give more precise comment to the later assertion.
The following two assertions are redundant.
rpp_driver/src/codec/adau1361lower.cpp
Lines 89 to 91 in e94060e
rpp_driver/src/codec/adau1361lower.cpp
Line 449 in e94060e
We should remove the former one, and give more precise comment to the later assertion.