summaryrefslogtreecommitdiffstats
path: root/audio/sink.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-11 11:05:24 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-11 11:05:24 +0000
commit6763ebb3c231740c66a235f94d56e8d8cc213d90 (patch)
tree527ad7a778289b70ac64b2d4e49512eae6d634e2 /audio/sink.h
parent46e860574f3d6d70d961e38270522764191cea20 (diff)
Integrate A2DP work from Johan's and Luiz's GIT trees
Diffstat (limited to 'audio/sink.h')
-rw-r--r--audio/sink.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/sink.h b/audio/sink.h
index 4cc3a0e4..9d65e278 100644
--- a/audio/sink.h
+++ b/audio/sink.h
@@ -21,7 +21,18 @@
*
*/
+#include "ipc.h"
+#include "avdtp.h"
+
#define AUDIO_SINK_INTERFACE "org.bluez.audio.Sink"
struct sink;
+struct sink *sink_init(void *device);
+void sink_new_stream(void *device, void *lsep);
+void sink_free(void *device);
+int sink_get_config(void *device, int sock, struct ipc_packet *req,
+ int pkt_len, struct ipc_data_cfg **rsp);
+gboolean sink_is_active(void *device);
+void sink_set_state(void *device, avdtp_state_t state);
+avdtp_state_t sink_get_state(void *device);