[alsa-devel] Fixed Re: amp power down event (resend with the correct email)

Michael Trimarchi trimarchi at gandalf.sssup.it
Tue Aug 10 09:08:15 CEST 2010


Hi all

Michael Trimarchi wrote:
> Hi all,
>
> I'm t rying to unde rstand when the event a re called.
>
> ...
> SND_SOC_DAPM_SPK("Front Speaker", amp_event),
>   
I have fixed looking in the kernel code. Change this to:

SND_SOC_DAPM_PRE("Front Speaker", amp_event),

Is it correct?

Michael
> ...
>
> My idea was:
>
> - set the mixe r
> - open st ream
>
> amp_event: event =>
> [  169.820558] ON
>
> - close st ream
>
> and receive the event => OFF. In the aplay example this happen
> afte r some seconds but in my application I don't receive the OFF
> event. What is w rong?
>
> Michael
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>   



More information about the Alsa-devel mailing list