summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-07-09 18:12:19 +0530
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:36:35 -0300
commit555fcc9b4bf67e923708af8de46aa91b7077f050 (patch)
treeb8da503d323c7a33d2db61badfa4e16823eb747b /audio
parentea245383ac6650cbf34c327ed095d956b84ac5fb (diff)
Renaming device to btd_device and making the
necessary changes in plugins. Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/main.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/audio/main.c b/audio/main.c
index 607e3ca9..2ea2a1a3 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -45,14 +45,16 @@ static DBusConnection *conn;
static int headset_probe(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
return 0;
}
static void headset_remove(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
}
static struct btd_device_driver headset_driver = {
@@ -64,14 +66,16 @@ static struct btd_device_driver headset_driver = {
static int a2dp_probe(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
return 0;
}
static void a2dp_remove(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
}
static struct btd_device_driver a2dp_driver = {
@@ -83,14 +87,16 @@ static struct btd_device_driver a2dp_driver = {
static int audio_probe(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
return 0;
}
static void audio_remove(struct btd_device *device)
{
- DBG("path %s", device->path);
+ const gchar *path = device_get_path(device);
+ DBG("path %s", path);
}
static struct btd_device_driver audio_driver = {