summaryrefslogtreecommitdiffstats
path: root/Alsa/core-binding/README.md
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-07 20:13:20 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-07 20:13:20 +0100
commit3392199837251e8b165dda1eb0ec211d9c06dd0b (patch)
treec7fd4cd611953c145b2221f0c81d2a5928e5261b /Alsa/core-binding/README.md
parent730a5e12bf8688863356b5209db9586e78498237 (diff)
Initial Commit
Diffstat (limited to 'Alsa/core-binding/README.md')
-rw-r--r--Alsa/core-binding/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/Alsa/core-binding/README.md b/Alsa/core-binding/README.md
new file mode 100644
index 0000000..12c8d5e
--- /dev/null
+++ b/Alsa/core-binding/README.md
@@ -0,0 +1,22 @@
+------------------------------------------------------------------------
+ AlsaCore Low level binding maps AlsaLib APIs
+------------------------------------------------------------------------
+
+Testing: (from Build dir with Binder install in $HOME/opt=
+ * start binder: ~/opt/bin/afb-daemon --ldpaths=./Alsa/src/low-level-binding
+ * connect browser on http://localhost:1234/api/alsacore/????
+
+ # List Avaliable Sound cards
+ http://localhost:1234/api/alsacore/getinfo
+
+ # Get Info on a given Sound Card
+ http://localhost:1234/api/alsacore/getinfo?devid=hw:0
+
+ # Get all controls from a given sound card
+ http://localhost:1234/api/alsacore/getctl?devid=hw:0
+
+ # Get detail on a given control (optional quiet=0=verbose,1,2)
+ http://localhost:1234/api/alsacore/getctl?devid=hw:0&numid=1&quiet=0
+
+ # Subscribe to event from a given sound card
+ http://localhost:1234/api/alsacore/subctl?devid=hw:0 \ No newline at end of file