diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-25 23:23:50 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-25 23:23:50 +0000 |
commit | 12fdf74892a8f3545fb4f2cf27d224b6922a5e69 (patch) | |
tree | 904f0e7d4527ad1769c2c852928a9bfaea5fcfc9 | |
parent | bf425a52d46d7f73572fd849ca33c4e3d7d5a03c (diff) | |
parent | b84735843d1681b165d8a71a95945d293128f7ef (diff) | |
download | libhardware-12fdf74892a8f3545fb4f2cf27d224b6922a5e69.tar.gz |
Snap for 10009257 from b84735843d1681b165d8a71a95945d293128f7ef to udc-d1-release
Change-Id: I15f3b3fd2a3ab17219874af6b5b638df581b0cf7
-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); |