Callbacks from opening or closing alsa streams
Hi,
I was wondering if it was possible to get callbacks from opening and closing of alsa streams with the alsa sink name that was opened.
So if I have an asound.conf configured like so:
pcm.music {
type hw
card 0
}
Is it possible to get a callback saying that a stream on the "music" sink was opened?
Thanks
Baek
Signature · 2 lines
Baek Chang [email protected]
Hi,
Quoted 2 lines · Baek Chang
I was wondering if it was possible to get callbacks from opening and closing of alsa streams with the alsa sink name that was opened.
Probably you're interested in something like this:
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-June/018996.html
(read the whole thread, it has an example code)
HTH
Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]