summaryrefslogtreecommitdiff
path: root/android/audio-msg.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-31 12:45:16 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-07 13:37:53 +0200
commit193cbd4dd38946beca71658dd4ebeea7270addaf (patch)
tree3594cbc79d853f2a386c913b86f974ec73a156dd /android/audio-msg.h
parent1829216bab0483720c22e7672f72846c4fca31d3 (diff)
downloadbluez-193cbd4dd38946beca71658dd4ebeea7270addaf.tar.gz
android/ipc: Add audio_ipc_send_rsp and audio_ipc_send_rsp_full
These functions can be used to respond to commands recieved over audio IPC.
Diffstat (limited to 'android/audio-msg.h')
-rw-r--r--android/audio-msg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/audio-msg.h b/android/audio-msg.h
index 1ec252032..ae8a1689b 100644
--- a/android/audio-msg.h
+++ b/android/audio-msg.h
@@ -26,3 +26,11 @@
static const char BLUEZ_AUDIO_SK_PATH[] = "\0bluez_audio_socket";
#define AUDIO_SERVICE_ID 0
+
+#define AUDIO_STATUS_SUCCESS 0x00
+#define AUDIO_STATUS_FAILED 0x01
+
+#define AUDIO_OP_STATUS 0x00
+struct audio_status {
+ uint8_t code;
+} __attribute__((packed));