summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Sanders <eriksanders@google.com>2023-05-05 21:52:37 +0000
committerErik Sanders <eriksanders@google.com>2023-05-05 21:55:17 +0000
commit7317e3422ed357f1938c3c1135f91986efd912aa (patch)
tree757a4bdf73ebe8319647aaa8d6a0d2608ba9f4d7
parentecfcbfe2591e66d090f15914f0de0b3dd85a5929 (diff)
parente4d8344fd3a00d7babf096cf3a7932409b80ec6c (diff)
Merge UP1A.230503.003
Change-Id: I5a9bbafba8210985fc7462f8840e0f9e643f54be
-rw-r--r--modules/audio_remote_submix/audio_hw.cpp3
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);