hal: add support for device mute
Add support for muting the RX and TX devices without affecting
the voice stream. This feature is added to enable voice call
quality testing by carriers.
Change-Id: I4d0f599e44ae24ce02d29333f496ef18f889ac55
diff --git a/hal/platform_api.h b/hal/platform_api.h
index 2ec6b50..03890e9 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -45,6 +45,7 @@
int platform_set_voice_volume(void *platform, int volume);
int platform_set_mic_mute(void *platform, bool state);
int platform_get_sample_rate(void *platform, uint32_t *rate);
+int platform_set_device_mute(void *platform, bool state, char *dir);
snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices);
snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_device);
int platform_set_hdmi_channels(void *platform, int channel_count);