commit | 99ece2576e429cf6a591129882f173a2ce1ba15a | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Wed Sep 27 03:23:21 2023 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Sep 27 03:23:21 2023 -0700 |
tree | db6a5e8d402601961900e26d4ce44020a7214178 | |
parent | 183d66435a5986cf4d08b1bc2c6d8079562a9823 [diff] | |
parent | faa62e819d3ecb6c9f26ecac71e871b31f72f4ed [diff] |
Merge "sthal: check audio extn init result in stdev init"
diff --git a/SoundTriggerSession.cpp b/SoundTriggerSession.cpp index 62a15f6..361cec7 100644 --- a/SoundTriggerSession.cpp +++ b/SoundTriggerSession.cpp
@@ -91,7 +91,7 @@ SoundTriggerSession::~SoundTriggerSession() { - if (pal_handle_ && IsState(IDLE)) + if (pal_handle_) pal_stream_close(pal_handle_); pal_handle_ = nullptr;