hal: Add speaker swap feature

- Enable speaker swap during device rotation

CRs-Fixed: 2118556
Change-Id: I1f9d6cd103349bf8f4dc560e0c27a0bbdaedab11
diff --git a/hal/platform_api.h b/hal/platform_api.h
index 924c1a4..eb352a8 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -172,6 +172,8 @@
 int platform_get_usecase_index(const char * usecase);
 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device);
+int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels);
+int platform_set_swap_channels(struct audio_device *adev, bool swap_channels);
 void platform_get_device_to_be_id_map(int **be_id_map, int *length);
 
 int platform_set_channel_allocation(void *platform, int channel_alloc);