Skip to contentSkip to conversation

audio/media: Remove experimental status from Media* interfaces

PATCH Superseded Luiz Augusto von Dentz 1 participant 3 messages Jun 17, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/3 audio/media: Remove experimental status from Media* interfaces

From: Luiz Augusto von Dentz <[email protected]>

These interfaces have been stable for a while so there is no reason to keep them as experimental anymore.

---
 doc/media-api.txt       |  6 ++--
 profiles/audio/media.c  |  4 +--
 profiles/audio/player.c | 88 ++++++++++++++++++-------------------------------
 3 files changed, 37 insertions(+), 61 deletions(-)
doc/media-api.txt +3 -3
index 07ea991..ae49dfa 100644
@@ -121,7 +121,7 @@ MediaPlayer1 hierarchy
 ======================
 
 Service		org.bluez (Controller role)
-Interface	org.bluez.MediaPlayer1 [Experimental]
+Interface	org.bluez.MediaPlayer1
 Object path	[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
 
 Methods		void Play()
@@ -309,7 +309,7 @@ MediaFolder1 hierarchy
 
 Service		unique name (Target role)
 		org.bluez (Controller role)
-Interface	org.bluez.MediaFolder1 [Experimental]
+Interface	org.bluez.MediaFolder1
 Object path	freely definable (Target role)
 		[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
 		(Controller role)
@@ -390,7 +390,7 @@ MediaItem1 hierarchy
 
 Service		unique name (Target role)
 		org.bluez (Controller role)
-Interface	org.bluez.MediaItem1 [Experimental]
+Interface	org.bluez.MediaItem1
 Object path	freely definable (Target role)
 		[variable
 		prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX/itemX
profiles/audio/media.c +2 -2
index fa5c013..ef7b910 100644
@@ -1828,10 +1828,10 @@ static const GDBusMethodTable media_methods[] = {
 		NULL, register_endpoint) },
 	{ GDBUS_METHOD("UnregisterEndpoint",
 		GDBUS_ARGS({ "endpoint", "o" }), NULL, unregister_endpoint) },
-	{ GDBUS_EXPERIMENTAL_METHOD("RegisterPlayer",
+	{ GDBUS_METHOD("RegisterPlayer",
 		GDBUS_ARGS({ "player", "o" }, { "properties", "a{sv}" }),
 		NULL, register_player) },
-	{ GDBUS_EXPERIMENTAL_METHOD("UnregisterPlayer",
+	{ GDBUS_METHOD("UnregisterPlayer",
 		GDBUS_ARGS({ "player", "o" }), NULL, unregister_player) },
 	{ },
 };
profiles/audio/player.c +32 -56

123 lines not on this page · raw message

Signature · 1 line
1.9.3
author maintainer
#1 lore raw

PATCH 2/3 tools/mpris-player: Rename to mpris-proxy

From: Luiz Augusto von Dentz <[email protected]>

---
 Makefile.tools                          | 6 +++---
 tools/{mpris-player.c => mpris-proxy.c} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename tools/{mpris-player.c => mpris-proxy.c} (100%)
Makefile.tools +3 -3
index c24bdf7..ce04dfc 100644
@@ -277,7 +277,7 @@ noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
 			tools/hcieventmask tools/hcisecfilter \
 			tools/btmgmt tools/btinfo tools/btattach \
 			tools/btsnoop tools/btproxy tools/btiotest \
-			tools/mpris-player tools/cltest tools/seq2bseq \
+			tools/mpris-proxy tools/cltest tools/seq2bseq \
 			tools/hex2hcd tools/ibeacon
 
 tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
@@ -324,8 +324,8 @@ tools_btproxy_SOURCES = tools/btproxy.c monitor/bt.h \
 tools_btiotest_SOURCES = tools/btiotest.c btio/btio.h btio/btio.c
 tools_btiotest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
 
-tools_mpris_player_SOURCES = tools/mpris-player.c
-tools_mpris_player_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
+tools_mpris_proxy_SOURCES = tools/mpris-proxy.c
+tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
 
 tools_cltest_SOURCES = tools/cltest.c monitor/mainloop.h monitor/mainloop.c
 tools_cltest_LDADD = lib/libbluetooth-internal.la
tools/mpris-proxy.c renamed from tools/mpris-player.c +0 -0
similarity index 100%
rename from tools/mpris-player.c
rename to tools/mpris-proxy.c
Signature · 1 line
1.9.3
author maintainer
#2 lore raw

PATCH 3/3 build: Remove mpris-proxy from experimental

In reply to Luiz Augusto von Dentz

From: Luiz Augusto von Dentz <[email protected]>

This makes mpris-proxy tool to be compiled without --enable-experimental

---
 Makefile.tools | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Makefile.tools +4 -3
index ce04dfc..b410999 100644
@@ -176,7 +176,8 @@ endif
 if TOOLS
 bin_PROGRAMS += tools/hciattach tools/hciconfig tools/hcitool tools/hcidump \
 			tools/rfcomm tools/rctest tools/l2test tools/l2ping \
-			tools/sdptool tools/ciptool tools/bccmd tools/bluemoon
+			tools/sdptool tools/ciptool tools/bccmd \
+			tools/bluemoon tools/mpris-proxy
 
 tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
 						tools/hciattach_st.c \
@@ -277,8 +278,8 @@ noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
 			tools/hcieventmask tools/hcisecfilter \
 			tools/btmgmt tools/btinfo tools/btattach \
 			tools/btsnoop tools/btproxy tools/btiotest \
-			tools/mpris-proxy tools/cltest tools/seq2bseq \
-			tools/hex2hcd tools/ibeacon
+			tools/cltest tools/seq2bseq tools/hex2hcd \
+			tools/ibeacon
 
 tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
 tools_bdaddr_LDADD = lib/libbluetooth-internal.la @UDEV_LIBS@
Signature · 1 line
1.9.3