diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-26 01:29:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-26 01:29:41 +0000 |
commit | e4d8344fd3a00d7babf096cf3a7932409b80ec6c (patch) | |
tree | 904f0e7d4527ad1769c2c852928a9bfaea5fcfc9 | |
parent | 068f31ef92a565d879f39041dea54986b2499fe8 (diff) | |
parent | 4e7ab5d87798889a0db6b0f0b5084648fc468b7c (diff) | |
download | libhardware-e4d8344fd3a00d7babf096cf3a7932409b80ec6c.tar.gz |
Snap for 10009955 from 4e7ab5d87798889a0db6b0f0b5084648fc468b7c to udc-release
Change-Id: Ib96e3a0a311523f825ce0597f6dcc1d22169945c
-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); |