diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-06-27 18:21:20 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-06-27 18:21:20 +0200 |
commit | 10c42e135b22bf323836100ede042ec47ddb22a1 (patch) | |
tree | 7eb7a94df5980de81480c8671603ec4dfca0f6c9 /HighLevel-afb/README.md | |
parent | 6c0d556e956eaf1f4eea734d7313d258dd75b878 (diff) |
Work in Progress
Diffstat (limited to 'HighLevel-afb/README.md')
-rw-r--r-- | HighLevel-afb/README.md | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/HighLevel-afb/README.md b/HighLevel-afb/README.md deleted file mode 100644 index fa50173..0000000 --- a/HighLevel-afb/README.md +++ /dev/null @@ -1,35 +0,0 @@ ------------------------------------------------------------------------- - AudioLogic High Level APIs ------------------------------------------------------------------------- - -Testing: (from project directory bindings) - * start binder: ~/opt/bin/afb-daemon --ldpaths=./build --token=mysecret --roothttp=htdocs - * connect browser on http://localhost:1234?devid=hw:0 - - # Open Sound Card from its name - http://localhost:1234/api/audio/open?token=mysecret&sndname=H650e - - # Subscribe event for a given board - http://localhost:1234/api/audio/subscribe?token=mysecret&devid=hw:0 - - # Increase Volume - http://localhost:1234/api/audio/setvol?token=mysecret&devid=hw:0&pcm=master&vol=50% - - # Get Volume - http://localhost:1234/api/audio/getvol?token=mysecret&devid=hw:0&pcm=master - - # Close Session - http://localhost:1234/api/audio/close?token=mysecret - - -Testing with afb-client-demo - -``` -~/opt/bin/afb-client-demo localhost:1234/api?token=mysecret -alsacore subctl {"devid":"hw:0"} -``` - -Start AlsaMixer and change volume -``` -alsamixer -D hw:0 -```
\ No newline at end of file |