Audio V4: Fix documentation and useable/untestable bugs
Add missing documentation, especially for failure cases
and methods that are optional.
Add missing operation status for testability.
Add format for getSupported* methods as they could not
be implemented in 2.0 for multi-format stream (HDMI).
Test: compile
Bug: 38184704
Change-Id: I14ee5e02ef70a82df6de732f88b065810e9b032f
Signed-off-by: Kevin Rocard <krocard@google.com>
diff --git a/audio/4.0/IStreamIn.hal b/audio/4.0/IStreamIn.hal
index 306aeb1..ea2826e 100644
--- a/audio/4.0/IStreamIn.hal
+++ b/audio/4.0/IStreamIn.hal
@@ -26,6 +26,7 @@
* Returns the source descriptor of the input stream. Calling this method is
* equivalent to getting AUDIO_PARAMETER_STREAM_INPUT_SOURCE on the legacy
* HAL.
+ * Optional method
*
* @return retval operation completion status.
* @return source audio source.
@@ -34,6 +35,7 @@
/**
* Set the input gain for the audio driver.
+ * Optional method
*
* @param gain 1.0f is unity, 0.0f is zero.
* @result retval operation completion status.