summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-09-04 16:03:43 +0530
committerAlok Barsode <alok.barsode@azingo.com>2008-09-04 16:03:43 +0530
commit18614bd2b008cb9f3879990883c569c37b72f195 (patch)
tree4fa3c31c5dedb9ac6db5ec651f8e109bf6fd353f /audio
parentcef9cd308fbd34476e45794eabe1805dc87cd15e (diff)
Renaming struct adapter to struct btd_adapter.
Diffstat (limited to 'audio')
-rw-r--r--audio/manager.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/manager.c b/audio/manager.c
index f4905ea9..4f31bb46 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -673,7 +673,7 @@ static int gateway_server_init(struct audio_adapter *adapter)
static int audio_probe(struct btd_device *device, GSList *records)
{
- struct adapter *adapter = device_get_adapter(device);
+ struct btd_adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
const char *source, *destination;
bdaddr_t src, dst;
@@ -726,7 +726,7 @@ static struct audio_adapter *create_audio_adapter(const char *path, bdaddr_t *sr
return adp;
}
-static struct audio_adapter *get_audio_adapter(struct adapter *adapter)
+static struct audio_adapter *get_audio_adapter(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -747,7 +747,7 @@ static struct audio_adapter *get_audio_adapter(struct adapter *adapter)
return adp;
}
-static int headset_server_probe(struct adapter *adapter)
+static int headset_server_probe(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -761,7 +761,7 @@ static int headset_server_probe(struct adapter *adapter)
return headset_server_init(adp);
}
-static void headset_server_remove(struct adapter *adapter)
+static void headset_server_remove(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -793,7 +793,7 @@ static void headset_server_remove(struct adapter *adapter)
}
}
-static int gateway_server_probe(struct adapter *adapter)
+static int gateway_server_probe(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -807,7 +807,7 @@ static int gateway_server_probe(struct adapter *adapter)
return gateway_server_init(adp);
}
-static void gateway_server_remove(struct adapter *adapter)
+static void gateway_server_remove(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -829,7 +829,7 @@ static void gateway_server_remove(struct adapter *adapter)
}
}
-static int a2dp_server_probe(struct adapter *adapter)
+static int a2dp_server_probe(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);
@@ -843,7 +843,7 @@ static int a2dp_server_probe(struct adapter *adapter)
return a2dp_init(connection, config);
}
-static int avrcp_server_probe(struct adapter *adapter)
+static int avrcp_server_probe(struct btd_adapter *adapter)
{
struct audio_adapter *adp;
const gchar *path = adapter_get_path(adapter);