summaryrefslogtreecommitdiff
path: root/audio/ipc.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-10-06 15:41:53 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-10-06 19:18:53 +0200
commit5f8a274881a823ea51df7a62ca17948b1f4ebe63 (patch)
treeed2a71b1df7675fe2b14f68560941216f74ab27d /audio/ipc.h
parent9c39d108d8c1057ad29e83a4db0f4a396772987f (diff)
Add support for AVDTP 1.3 Delay Reporting
This patch adds support for the new Delay Report command in AVDTP 1.3.
Diffstat (limited to 'audio/ipc.h')
-rw-r--r--audio/ipc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/ipc.h b/audio/ipc.h
index 2e170f504..bd0dd38b1 100644
--- a/audio/ipc.h
+++ b/audio/ipc.h
@@ -101,6 +101,7 @@ typedef struct {
#define BT_STOP_STREAM 5
#define BT_CLOSE 6
#define BT_CONTROL 7
+#define BT_DELAY_REPORT 8
#define BT_CAPABILITIES_TRANSPORT_A2DP 0
#define BT_CAPABILITIES_TRANSPORT_SCO 1
@@ -324,6 +325,16 @@ struct bt_control_ind {
uint8_t key; /* Control Key */
} __attribute__ ((packed));
+struct bt_delay_report_req {
+ bt_audio_msg_header_t h;
+ uint16_t delay;
+} __attribute__ ((packed));
+
+struct bt_delay_report_ind {
+ bt_audio_msg_header_t h;
+ uint16_t delay;
+} __attribute__ ((packed));
+
/* Function declaration */
/* Opens a connection to the audio service: return a socket descriptor */