diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2023-06-07 17:30:12 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2023-06-07 17:30:12 -0700 |
commit | 391bda72a1d7c48a0cdd6f7f59b0587a9383f350 (patch) | |
tree | ea8698eae92e10bcd501204634f1d77dd22640c3 | |
parent | 741b1f6b74024f66d13073abe5ae518f96194c42 (diff) | |
parent | 9f9893d58ce58bd3deae645b8412cd9c6687d061 (diff) |
Merge 9f9893d58ce58bd3deae645b8412cd9c6687d061 on remote branch
Change-Id: I28ca1fbdb7062b2832b9d87c89261d75a9f9679a
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | modules/audio_remote_submix/audio_hw.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -64,6 +64,7 @@ cc_library_headers { apex_available: [ "//apex_available:platform", "com.android.btservices", + "com.android.media", "com.android.media.swcodec", ], min_sdk_version: "29", 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); |