about mixer callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.-- С уважением,Канашин А.В.
-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux