aboutsummaryrefslogtreecommitdiffstats
path: root/Alsa/core-binding/README.md
blob: 7f8c87aab9fd2b7be50663a33fcfbe360d99cbaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 (warning fail if not WS)
 http://localhost:1234/api/alsacore/subctl?devid=hw:0