hal: Add support for channel map in asm
Add support for setting channel map to asm in
multichannel playback.
Change-Id: I6d4135eeb550796148f0fd159a4724f2fc302358
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index a42158e..00adcca 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2327,6 +2327,8 @@
goto error_open;
}
}
+ platform_set_stream_channel_map(adev->platform, out->channel_mask,
+ out->pcm_device_id);
} else {
platform_set_stream_channel_map(adev->platform, out->channel_mask,
out->pcm_device_id);