summaryrefslogtreecommitdiffstats
path: root/audio/5.0
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2018-11-20 17:15:39 -0800
committerKevin Rocard <krocard@google.com>2018-12-02 18:21:01 -0800
commit2dc552a75505f748ddfdf7080225f1b624bdcc91 (patch)
treeb011d9d6a9859227df78bdc1b1f9b91d295dca83 /audio/5.0
parent35c0de808501afeb5012dcd87dbb297e254026ff (diff)
downloadandroid_hardware_interfaces-2dc552a75505f748ddfdf7080225f1b624bdcc91.tar.gz
android_hardware_interfaces-2dc552a75505f748ddfdf7080225f1b624bdcc91.tar.bz2
android_hardware_interfaces-2dc552a75505f748ddfdf7080225f1b624bdcc91.zip
Audio V5: move Stream Metadata to common
So that it can be used by the Bluetooth HAL. Test: compile Change-Id: I2e2b1e12e1f837183c4edbd1d330a13a67d1ecae Merged-In: I2e2b1e12e1f837183c4edbd1d330a13a67d1ecaf Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'audio/5.0')
-rw-r--r--audio/5.0/types.hal33
1 files changed, 0 insertions, 33 deletions
diff --git a/audio/5.0/types.hal b/audio/5.0/types.hal
index f58bfb0a7..988f584b6 100644
--- a/audio/5.0/types.hal
+++ b/audio/5.0/types.hal
@@ -122,39 +122,6 @@ enum MessageQueueFlagBits : uint32_t {
NOT_FULL = 1 << 1
};
-/** Metadata of a playback track for a StreamOut. */
-struct PlaybackTrackMetadata {
- AudioUsage usage;
- AudioContentType contentType;
- /**
- * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation,
- * 2 means double amplification...
- * Must not be negative.
- */
- float gain;
-};
-
-/** Metadatas of the source of a StreamOut. */
-struct SourceMetadata {
- vec<PlaybackTrackMetadata> tracks;
-};
-
-/** Metadata of a record track for a StreamIn. */
-struct RecordTrackMetadata {
- AudioSource source;
- /**
- * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation,
- * 2 means double amplification...
- * Must not be negative.
- */
- float gain;
-};
-
-/** Metadatas of the source of a StreamIn. */
-struct SinkMetadata {
- vec<RecordTrackMetadata> tracks;
-};
-
/*
* Microphone information
*