[alsa-devel] Triggering a DAPM widget event
john.harrod at philips.com
Tue Jan 25 17:53:13 CET 2011
I have a program that uses the ALSA PCM interface to play sounds on an embedded system. Does anyone know how alsa-lib triggers a SND_SOC_DAPM_PRE_PMD widget event in DAPM core? On my system the event only gets called when the pcm is closed with snd_pcm_close(). Is there another function that can cause a widget shutdown?
Or is opening and closing the PCM every time I want to play a sound a good practice for saving power?
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
More information about the Alsa-devel