summaryrefslogtreecommitdiffstats
path: root/audio/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-01-08 17:18:07 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-08 23:44:16 +0200
commit60ec17b68922904833973af118ff91e0f1df1b04 (patch)
tree286af09976dccb93d470d690d5f34f455f696e04 /audio/device.c
parent193ad2bbf689556c5cf96ff8f6368965223467bd (diff)
Make audio plugin to use audio_device sufix instead of device_.
To prevent future name clashes with btd_device API.
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/device.c b/audio/device.c
index 6c2c20aa..6f59746d 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -63,7 +63,7 @@ static void device_free(struct audio_device *dev)
g_free(dev);
}
-struct audio_device *device_register(DBusConnection *conn,
+struct audio_device *audio_device_register(DBusConnection *conn,
const char *path, const bdaddr_t *src,
const bdaddr_t *dst)
{
@@ -82,7 +82,8 @@ struct audio_device *device_register(DBusConnection *conn,
return dev;
}
-gboolean device_is_connected(struct audio_device *dev, const char *interface)
+gboolean audio_device_is_connected(struct audio_device *dev,
+ const char *interface)
{
if (!interface) {
if ((dev->sink || dev->source) &&
@@ -108,7 +109,7 @@ gboolean device_is_connected(struct audio_device *dev, const char *interface)
return FALSE;
}
-void device_unregister(struct audio_device *device)
+void audio_device_unregister(struct audio_device *device)
{
if (device->headset)
headset_unregister(device);