summaryrefslogtreecommitdiffstats
path: root/audio/ipc.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-08-23 23:37:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-08-23 23:37:15 +0000
commit92f94938b981fe6a892e365670d5fa4d58c94283 (patch)
tree23abac947787c454f1955e0e510d17b0c1516711 /audio/ipc.h
parent0a527f667ae62ac335f22d1d053179b20ff26e94 (diff)
Add support for ALSA parameters
Diffstat (limited to 'audio/ipc.h')
-rw-r--r--audio/ipc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/ipc.h b/audio/ipc.h
index 27ee742c..7eb6e398 100644
--- a/audio/ipc.h
+++ b/audio/ipc.h
@@ -22,6 +22,7 @@
*/
#include <stdint.h>
+#include <bluetooth/bluetooth.h>
#define IPC_TYPE_CONNECT 0x0001
@@ -34,10 +35,9 @@
#endif
/* Supported roles */
-#define PKT_ROLE_NONE 0
-#define PKT_ROLE_AUTO 1
-#define PKT_ROLE_VOICE 2
-#define PKT_ROLE_HIFI 3
+#define PKT_ROLE_AUTO 0
+#define PKT_ROLE_VOICE 1
+#define PKT_ROLE_HIFI 2
/* Packet types */
#define PKT_TYPE_CFG_REQ 0
@@ -52,7 +52,7 @@
#define PKT_ERROR_NONE 0
struct ipc_packet {
- uint8_t id; /* Device id */
+ bdaddr_t bdaddr; /* Address of the remote Device */
uint8_t role; /* Audio role eg: voice, wifi, auto... */
uint8_t type; /* Packet type */
uint8_t error; /* Packet error code */