commit | 4f5ef442a66ca686d49b04238c9f996d8129b7bc | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Apr 25 17:21:49 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 25 17:21:49 2023 +0000 |
tree | 904f0e7d4527ad1769c2c852928a9bfaea5fcfc9 | |
parent | 6328f207b48c7c04b1c7eec5492b28e75965561c [diff] | |
parent | da63dfaf487cd88a9ad24b6cf12ae01c432c7c3c [diff] |
AudioParameter: Use for RemoteSubmix exiting am: 4e7ab5d877 am: da63dfaf48 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/22780136 Change-Id: I14562e4b847ba2a85fd917f7bb2e580642885332 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/modules/audio_remote_submix/audio_hw.cpp b/modules/audio_remote_submix/audio_hw.cpp index f96854b..5019ae5 100644 --- a/modules/audio_remote_submix/audio_hw.cpp +++ b/modules/audio_remote_submix/audio_hw.cpp
@@ -679,7 +679,8 @@ // FIXME this is using hard-coded strings but in the future, this functionality will be // converted to use audio HAL extensions required to support tunneling - if ((parms.getInt(String8("exiting"), exiting) == NO_ERROR) && (exiting > 0)) { + if ((parms.getInt(String8(AUDIO_PARAMETER_KEY_EXITING), exiting) == NO_ERROR) + && (exiting > 0)) { struct submix_audio_device * const rsxadev = audio_stream_get_submix_stream_out(stream)->dev; pthread_mutex_lock(&rsxadev->lock);