summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2021-03-25 21:57:50 +0300
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>2021-03-27 11:18:22 +0000
commit7ca50bab2f946237bbe6418bf9e7dbd01fada1bd (patch)
tree9d70cc2d03aec8fd479dafb84bc4946c160aec75
parenta2db3fcfb26b874238538827e78ba40ce5761690 (diff)
downloadpulseaudio-7ca50bab2f946237bbe6418bf9e7dbd01fada1bd.tar.gz
bluetooth: update messaging api reference
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/525>
-rw-r--r--doc/messaging_api.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/messaging_api.txt b/doc/messaging_api.txt
index 18c5fd818..d4833a4b1 100644
--- a/doc/messaging_api.txt
+++ b/doc/messaging_api.txt
@@ -19,3 +19,19 @@ Message: list-handlers
Parameters: None
Return value: JSON array of handler description objects
[{"name":"Handler name","description":"Description"} ...]
+
+Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez
+Message: list-codecs
+Parameters: None
+Return value: JSON array of codec description objects
+ [{"name":"codec1","description":"Codec 1"} ...]
+
+Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez
+Message: get-codec
+Parameters: None
+Return value: "codec name"
+
+Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez
+Message: switch-codec
+Parameters: "codec name"
+Return value: none