Mark Headset.Play method deprecated
Luiz Augusto von Dentz
maintainerPATCH 1/1 Mark Headset.Play method deprecated
From: Luiz Augusto von Dentz <[email protected]>
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(-)
audio/headset.c +2 -1
@@ -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 },
doc/audio-api.txt +1 -1
@@ -81,7 +81,7 @@ Methods void Connect() Cancel the incoming call indication. - void Play() + void Play() {deprecated} Open the audio connection to the headset.
Signature · 1 line
1.7.5.4
Johan Hedberg
AppliedHi Luiz,
Quoted 5 lines · Luiz Augusto von Dentz
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(-)
Applied. Thanks.
Johan