diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-08 11:40:32 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-08 11:40:32 +0300 |
commit | 779b2cbee39544eefd8c09152e856ecc854c6707 (patch) | |
tree | 30445319da05e58af5fb19b27e746414bc435656 | |
parent | 17370895fde2d210bb50dfaa1c89fe6601de3467 (diff) |
Rename Source and Sink to AudioSource and AudioSink
-rw-r--r-- | audio/device.h | 3 | ||||
-rw-r--r-- | audio/sink.h | 2 | ||||
-rw-r--r-- | doc/audio-api.txt | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/audio/device.h b/audio/device.h index 20bc4d99..bdcba754 100644 --- a/audio/device.h +++ b/audio/device.h @@ -39,9 +39,8 @@ #define AVRCP_TARGET_UUID "0000110C-0000-1000-8000-00805F9B34FB" /* Move these to respective .h files once they exist */ -#define AUDIO_SOURCE_INTERFACE "org.bluez.Source" +#define AUDIO_SOURCE_INTERFACE "org.bluez.AudioSource" #define AUDIO_CONTROL_INTERFACE "org.bluez.Control" -#define AUDIO_TARGET_INTERFACE "org.bluez.Target" struct source; struct control; diff --git a/audio/sink.h b/audio/sink.h index f5d56fef..5752a3da 100644 --- a/audio/sink.h +++ b/audio/sink.h @@ -22,7 +22,7 @@ * */ -#define AUDIO_SINK_INTERFACE "org.bluez.Sink" +#define AUDIO_SINK_INTERFACE "org.bluez.AudioSink" struct sink *sink_init(struct audio_device *dev); void sink_unregister(struct audio_device *dev); diff --git a/doc/audio-api.txt b/doc/audio-api.txt index 59ef8354..88f5b8b4 100644 --- a/doc/audio-api.txt +++ b/doc/audio-api.txt @@ -97,11 +97,11 @@ Signals void AnswerRequested() The microphone gain changed. -Sink hierarchy -============== +AudioSink hierarchy +=================== Service org.bluez -Interface org.bluez.Sink +Interface org.bluez.AudioSink Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX Methods void Connect() |