diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-09-24 16:07:04 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-01 10:57:28 +0200 |
commit | 3c407194add77ca55ab12b1ab6ea7cf54f89c092 (patch) | |
tree | a496925abb406ed580bef3b3a196eb6ea6e31e0c /htdocs/AudioBinding.css | |
parent | 002dccbe68aae864f816f53b6ac92528bd42ab6d (diff) |
Add events when PCM availability changes
Add PCM availability application framework events to be notified
when ALSA PCM availability changes.
Use subscribe verb and json
'{ "event" : "pcm", "name" : "hw:3,2,1", "stream" : 0 }'
to subscribe to playback PCM 'hw:3,2,1' availability events.
Use subscribe verb and json
'{ "event" : "pcm", "name" : "hw:1,2,3", "stream" : 1 }''
to subscribe to capture PCM 'hw:1,2,3' availability events.
from removed card events.
To handle PCM events, inode notification (using inotify) is used
on '/dev/snd/pcm*' file (e.g. '/dev/snd/pcmC0D0p')
to monitor PCM availability.
BUG-AGL: SPEC-2835
Change-Id: I5bfaef73b896fa7213e1308035eeaff1464f62f6
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'htdocs/AudioBinding.css')
0 files changed, 0 insertions, 0 deletions