commit | 097e3b97a9dcc9478420ae14a8be221db35cc20b | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed Apr 27 22:30:22 2022 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Apr 27 22:37:41 2022 +0000 |
tree | 26dfcf96617d20f583782bd37b1d56601b290dfd | |
parent | d0f1ecb00cbc14ed9ddd8b74580e0b967b8ac497 [diff] |
AudioEffect: align the interface contract and impl on bad values The implementation of AudioEffect checks on invalid values passed to methods drifted over time from the doc. Updates: - Add missing checks in the implementation; - Update docs; - Also, use 'nullptr' instead of 'NULL' for consistency. Bug: 230640063 Test: atest audioeffect_tests Change-Id: Ieed8b654b800edc3df0def814db5bfbe8653378f