summaryrefslogtreecommitdiffstats
path: root/audio/device.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 17:15:27 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 17:15:27 -0300
commit12d81a98fe65d109c0b1caa242e96b005bcc8209 (patch)
tree90886d363a308e8768b4d484e5a5516102524ca8 /audio/device.h
parentd2fd09864d8b9e5289f0a6ab230063b32f661048 (diff)
Cleanup audio manager.
Diffstat (limited to 'audio/device.h')
-rw-r--r--audio/device.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/audio/device.h b/audio/device.h
index 5dc99b9d..96bb0705 100644
--- a/audio/device.h
+++ b/audio/device.h
@@ -54,10 +54,7 @@ struct gateway;
struct audio_device {
DBusConnection *conn;
- char *adapter_path;
char *path;
- char *name;
- bdaddr_t store;
bdaddr_t src;
bdaddr_t dst;
@@ -70,14 +67,9 @@ struct audio_device {
};
struct audio_device *device_register(DBusConnection *conn,
- const char *path, const bdaddr_t *bda);
+ const char *path, const bdaddr_t *src,
+ const bdaddr_t *dst);
-int device_store(struct audio_device *device, gboolean is_default);
-
-int device_remove_stored(struct audio_device *dev);
-
-void device_finish_sdp_transaction(struct audio_device *device);
-
-uint8_t device_get_state(struct audio_device *dev);
+void device_unregister(struct audio_device *device);
gboolean device_is_connected(struct audio_device *dev, const char *interface);