summaryrefslogtreecommitdiffstats
path: root/AudioLogic/README.md
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-08 14:23:35 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-08 14:23:35 +0100
commit1393b5d318e22dbd1625692847a51c27932fd442 (patch)
tree19fd954a04456be8e1c7ebde5b3aaefbe08dbcad /AudioLogic/README.md
parent0964e7da8576b8761e8d3d16b50cc842406c7e67 (diff)
Events Partially Working
Diffstat (limited to 'AudioLogic/README.md')
-rw-r--r--AudioLogic/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/AudioLogic/README.md b/AudioLogic/README.md
new file mode 100644
index 0000000..399f905
--- /dev/null
+++ b/AudioLogic/README.md
@@ -0,0 +1,18 @@
+------------------------------------------------------------------------
+ AudioLogic High Level APIs
+------------------------------------------------------------------------
+
+Testing: (from project directory bindings)
+ * start binder: ~/opt/bin/afb-daemon --ldpaths=./build --roothttp=htdocs
+ * connect browser on http://localhost:1234
+
+ # Subscribe event for a given board
+ http://localhost:1234/api/audio/subscribe?devid=hw:0
+
+ # Increase Volume
+ http://localhost:1234/api/audio/setvol?devid=hw:0&pcm=master&vol=50%
+
+ # Get Volume
+ http://localhost:1234/api/audio/getvol?devid=hw:0&pcm=master
+
+ \ No newline at end of file