diff options
Diffstat (limited to 'audio/sink.h')
-rw-r--r-- | audio/sink.h | 11 |
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); |