about mixer callbacks
Hi!
I have trouble with mixer_elem callbacks.
What I do:
1) open mixer and mixer element;
2) snd_mixer_elem_set_callback(...);
3) snd_mixer_elem_set_callback_private(...);
after this I have'nt received any callbacks. Only when I closed mixer :)
When I periodically call snd_mixer_handle_events(...) I found that my callback is called.
What I doing wrongly?
It's first question.
And it is second: in callback I don't found mask for MUTE flag. I try to MUTE on/off any channels with alsamixer, but I have received only mask SND_CTL_EVENT_MASK_VOLUME. Then i could verify switch state of my own mixer element every time callback is called?
PS. I don't subscribed to this mailing-list (because of troubles in subscribing procedure in lists.sourceforge.net). Please, answer to my e-mail address.
Signature · 12 lines
С уважением, Канашин А.В. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel