hal: Update the correct channel count for dolby configuration
-Wfd supports both 5.1 and stereo. Based on the sink capabilities
update the correct channel count for dolby configuration for wfd.
CRs-Fixed: 609429
Change-Id: I85b81ba7db7134a6781007393f0f3c2adb5ea138
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 147146c..9ac93dc 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2672,6 +2672,7 @@
adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int));
voice_init(adev);
list_init(&adev->usecase_list);
+ adev->cur_wfd_channels = 2;
/* Loads platform specific libraries dynamically */
adev->platform = platform_init(adev);