1 ------------------------------------------------------------------------
2 AudioLogic High Level APIs
3 ------------------------------------------------------------------------
5 Testing: (from project directory bindings)
6 * start binder: ~/opt/bin/afb-daemon --ldpaths=./build --token=mysecret --roothttp=htdocs
7 * connect browser on http://localhost:1234?devid=hw:0
9 # Open Sound Card from its name
10 http://localhost:1234/api/audio/open?token=mysecret&sndname=H650e
12 # Subscribe event for a given board
13 http://localhost:1234/api/audio/subscribe?token=mysecret&devid=hw:0
16 http://localhost:1234/api/audio/setvol?token=mysecret&devid=hw:0&pcm=master&vol=50%
19 http://localhost:1234/api/audio/getvol?token=mysecret&devid=hw:0&pcm=master
22 http://localhost:1234/api/audio/close?token=mysecret
25 Testing with afb-client-demo
28 ~/opt/bin/afb-client-demo localhost:1234/api?token=mysecret
29 alsacore subctl {"devid":"hw:0"}
32 Start AlsaMixer and change volume