diff options
author | Andy Hung <hunga@google.com> | 2023-04-25 16:37:53 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-04-25 16:37:53 +0000 |
commit | da63dfaf487cd88a9ad24b6cf12ae01c432c7c3c (patch) | |
tree | 904f0e7d4527ad1769c2c852928a9bfaea5fcfc9 | |
parent | 7ed98ecf44e89d184fa32fd4a8df6287b0d41f27 (diff) | |
parent | 4e7ab5d87798889a0db6b0f0b5084648fc468b7c (diff) | |
download | libhardware-da63dfaf487cd88a9ad24b6cf12ae01c432c7c3c.tar.gz |
AudioParameter: Use for RemoteSubmix exiting am: 4e7ab5d877
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/22780136
Change-Id: Id36e19f35d399bc19efc9cc534ac419375eafc46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | modules/audio_remote_submix/audio_hw.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/audio_remote_submix/audio_hw.cpp b/modules/audio_remote_submix/audio_hw.cpp index f96854b5..5019ae5b 100644 --- a/modules/audio_remote_submix/audio_hw.cpp +++ b/modules/audio_remote_submix/audio_hw.cpp @@ -679,7 +679,8 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) // 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); |