From: Michael Trimarchi Subject: amp power down event (resend with the correct email) Date: Mon, 09 Aug 2010 20:05:53 +0200 Message-ID: <4C604381.2080000@gandalf.sssup.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sssup.it (ms01.sssup.it [193.205.80.99]) by alsa0.perex.cz (Postfix) with ESMTP id 4A1F824698 for ; Mon, 9 Aug 2010 20:05:54 +0200 (CEST) Received: from [10.30.3.4] (HELO granpasso.retis) by sssup.it (CommuniGate Pro SMTP 5.3.2) with ESMTPS id 62413768 for alsa-devel@alsa-project.org; Mon, 09 Aug 2010 19:58:45 +0200 Received: from [10.30.3.245] (dhcp245.retis [10.30.3.245]) by granpasso.retis (8.14.4/8.14.4) with ESMTP id o79I5rCk072770 for ; Mon, 9 Aug 2010 20:05:53 +0200 (CEST) (envelope-from trimarchi@gandalf.sssup.it) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi all, I'm t rying to unde rstand when the event a re called. ... SND_SOC_DAPM_SPK("Front Speaker", amp_event), ... 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