OSDN Git Service

media: Fix some wrong interface names
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Thu, 6 Dec 2012 09:24:45 +0000 (10:24 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 6 Dec 2012 10:23:00 +0000 (12:23 +0200)
Trivially fix some wrong interface names introduced by commit
3aa15b56dca27a73f6bc34467ba0ce4c85ee2d9a.

doc/media-api.txt
profiles/audio/media.c

index ce7502a..1865df9 100644 (file)
@@ -128,7 +128,7 @@ MediaPlayer1 hierarchy
 
 Service                unique name (Target role)
                org.bluez (Controller role)
-Interface      org.bluez.Media1Player1
+Interface      org.bluez.MediaPlayer1
 Object path    freely definable (Target role)
                [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
                (Controller role)
@@ -223,7 +223,7 @@ MediaEndpoint1 hierarchy
 ========================
 
 Service                unique name
-Interface      org.bluez.Media1Endpoint1
+Interface      org.bluez.MediaEndpoint1
 Object path    freely definable
 
 Methods                void SetConfiguration(object transport, dict properties)
index 61c1f03..4c5d38b 100644 (file)
@@ -47,7 +47,7 @@
 #include "manager.h"
 
 #define MEDIA_INTERFACE "org.bluez.Media1"
-#define MEDIA_ENDPOINT_INTERFACE "org.bluez.Media1Endpoint1"
+#define MEDIA_ENDPOINT_INTERFACE "org.bluez.MediaEndpoint1"
 #define MEDIA_PLAYER_INTERFACE "org.bluez.MediaPlayer1"
 
 #define REQUEST_TIMEOUT (3 * 1000)             /* 3 seconds */