hal: separate transcode loopback usecase for Tx and Rx
- In transcode loopback usecase source device is fixed
with HDMI device and backend is not configurable.
- Separate transcode loopback usecase for Rx and Tx
to select the backend based on the source device.
Change-Id: Icbed33fe748ab5f9fc4ace3ada605ba25ad2c51c
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index 8cb395f..ba8a99c 100755
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -195,7 +195,8 @@
USECASE_AUDIO_PLAYBACK_SILENCE,
- USECASE_AUDIO_TRANSCODE_LOOPBACK,
+ USECASE_AUDIO_TRANSCODE_LOOPBACK_RX,
+ USECASE_AUDIO_TRANSCODE_LOOPBACK_TX,
USECASE_AUDIO_PLAYBACK_INTERACTIVE_STREAM1,
USECASE_AUDIO_PLAYBACK_INTERACTIVE_STREAM2,
@@ -404,7 +405,8 @@
VOICE_CALL,
VOIP_CALL,
PCM_HFP_CALL,
- TRANSCODE_LOOPBACK
+ TRANSCODE_LOOPBACK_RX,
+ TRANSCODE_LOOPBACK_TX
} usecase_type_t;
union stream_ptr {