From c7d048aa11decbb7ba08c564198b6a85b94844cf Mon Sep 17 00:00:00 2001 From: Mingming Yin Date: Tue, 25 Feb 2014 13:34:07 -0800 Subject: [PATCH] hal: set Dolby DMID for low latency playback - Remove additional check to set Dolby DMID for low latency playback. DMID should be set for all playback use cases. Change-Id: Ia93e1b13cc61145148a1bf520a222f8e480b3e2b CRs-Fixed: 620246 --- hal/audio_extn/dolby.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hal/audio_extn/dolby.c b/hal/audio_extn/dolby.c index bcc7381c..094f0771 100644 --- a/hal/audio_extn/dolby.c +++ b/hal/audio_extn/dolby.c @@ -430,8 +430,7 @@ void audio_extn_dolby_set_dmid(struct audio_device *adev) list_for_each(node, &adev->usecase_list) { usecase = node_to_item(node, struct audio_usecase, list); - if ((usecase->type == PCM_PLAYBACK) && - (usecase->id != USECASE_AUDIO_PLAYBACK_LOW_LATENCY)) + if (usecase->type == PCM_PLAYBACK) send = true; } if (!send)