commit | aee16530ec194c194a49e1c065f8a1c1f522b0df | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Apr 25 17:22:51 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 25 17:22:51 2023 +0000 |
tree | 904f0e7d4527ad1769c2c852928a9bfaea5fcfc9 | |
parent | 90c5765579f3e5cecea419417216b77399c97ced [diff] | |
parent | b84735843d1681b165d8a71a95945d293128f7ef [diff] |
AudioParameter: Use for RemoteSubmix exiting am: 4e7ab5d877 am: b84735843d Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/22780136 Change-Id: I630a234dd3f17631b27f6a15c449fb6a64dd5d31 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);