commit | 4d29504465943c27aa96661bf236e78daa0b6730 | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Fri Sep 20 00:19:48 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Sep 20 00:19:48 2019 -0700 |
tree | 4dc5d06f7d862d04b8e591aa0420562e49eec1ac | |
parent | 0bef96e4d139816227a33c913f9b982e84fc6293 [diff] | |
parent | 19027261fcafb8ad978b04b5029464f2fcccbf28 [diff] |
Merge "audio: hal: Fix cts-on-gsi test failure"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 8366f24..3291aac 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -7476,6 +7476,9 @@ __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) &&