Merge "audio: hal: Fix cts-on-gsi test failure"

This commit is contained in:
qctecmdr 2019-09-20 00:19:48 -07:00 committed by Gerrit - the friendly Code Review server
commit 4d29504465
1 changed files with 3 additions and 0 deletions

View File

@ -7476,6 +7476,9 @@ int adev_open_output_stream(struct audio_hw_device *dev,
__func__, ret);
goto error_open;
}
} else {
out->usecase = GET_USECASE_AUDIO_PLAYBACK_PRIMARY(use_db_as_primary);
out->config = GET_PCM_CONFIG_AUDIO_PLAYBACK_PRIMARY(use_db_as_primary);
}
}
} else if (audio_is_linear_pcm(out->format) &&