[PATCH BlueZ] Mark Headset.Play method deprecated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux