commit | 4b107fa0fa009d3f18f0a3aff0213a85591f6c27 | [log] [tgz] |
---|---|---|
author | Anton Utkin <avutkin@sberdevices.ru> | Fri Jun 09 17:54:09 2023 +0300 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Jul 11 11:12:34 2023 -0700 |
tree | e66927c4721601b796cc2dbae72e52c179b9aa91 | |
parent | 5c22f17cc54778c494bdbf374e8691c103a33451 [diff] |
[media]: refactoring AudioSystem.cpp to C++ style * goto operator is removed. In C++ there is no need for goto usage, RAII idiom is the replacement for goto. * C++ has smart pointers for automatic memory management. There is no need for using calloc(), realloc(). Test: Every API was called from priv-app and success operation result was returned Merged-In: I6e61ba1cd8ce279a69389e7cc66f7961d92f8c35 Change-Id: I6e61ba1cd8ce279a69389e7cc66f7961d92f8c35