summaryrefslogtreecommitdiffstats
path: root/AudioLogic/README.md
blob: 399f90584ad4523f4d6d24bf7bc1050ff1033b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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