From: Luiz Augusto von Dentz <redacted>
SCO socket should be connected using either unix socket ipc or Media API
---
audio/headset.c | 3 ++-
doc/audio-api.txt | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/audio/headset.c b/audio/headset.c
index 2864257..664f393 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -2060,7 +2060,8 @@ static GDBusMethodTable headset_methods[] = {
{ "IndicateCall", "", "", hs_ring },
{ "CancelCall", "", "", hs_cancel_call },
{ "Play", "", "", hs_play,
- G_DBUS_METHOD_FLAG_ASYNC },
+ G_DBUS_METHOD_FLAG_ASYNC |
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "Stop", "", "", hs_stop },
{ "IsPlaying", "", "b", hs_is_playing,
G_DBUS_METHOD_FLAG_DEPRECATED },diff --git a/doc/audio-api.txt b/doc/audio-api.txt
index d2f3996..0cf7884 100644
--- a/doc/audio-api.txt
+++ b/doc/audio-api.txt
@@ -81,7 +81,7 @@ Methods void Connect()
Cancel the incoming call indication.
- void Play()
+ void Play() {deprecated}
Open the audio connection to the headset.
--
1.7.5.4