AudioParameter: Use for RemoteSubmix exiting
Test: compiles Bug: 279106598 Merged-In: I50263a48584bac120c65123cd5bed09f60582089 Change-Id: I50263a48584bac120c65123cd5bed09f60582089
This commit is contained in:
parent
728df4f5fc
commit
c2992c7112
1 changed files with 2 additions and 1 deletions
|
@ -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
|
// 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
|
// 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 =
|
struct submix_audio_device * const rsxadev =
|
||||||
audio_stream_get_submix_stream_out(stream)->dev;
|
audio_stream_get_submix_stream_out(stream)->dev;
|
||||||
pthread_mutex_lock(&rsxadev->lock);
|
pthread_mutex_lock(&rsxadev->lock);
|
||||||
|
|
Loading…
Reference in a new issue