summaryrefslogtreecommitdiff
path: root/android/audio-msg.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-27 15:07:17 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-07 13:37:53 +0200
commit62cfe1bc62e2d3cc466d53fe5dcd23ea0ae6b039 (patch)
tree62e2bb340e1bbab6ad10ba81bbd24f0b25f03dcd /android/audio-msg.h
parentdfb5f89f632eca5cba82d0d500d8bf6461b7a523 (diff)
downloadbluez-62cfe1bc62e2d3cc466d53fe5dcd23ea0ae6b039.tar.gz
android/A2DP: Add stream open command/response struct
This adds the definitions to stream open command and response.
Diffstat (limited to 'android/audio-msg.h')
-rw-r--r--android/audio-msg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/audio-msg.h b/android/audio-msg.h
index 6ac1fffe4..0f0309a36 100644
--- a/android/audio-msg.h
+++ b/android/audio-msg.h
@@ -57,3 +57,13 @@ struct audio_rsp_open {
struct audio_cmd_close {
uint8_t id;
} __attribute__((packed));
+
+#define AUDIO_OP_OPEN_STREAM 0x03
+struct audio_cmd_open_stream {
+ uint8_t id;
+} __attribute__((packed));
+
+struct audio_rsp_open_stream {
+ uint8_t len;
+ uint8_t data[0];
+} __attribute__((packed));