From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Corneliussen Subject: Sound detection Date: Sun, 21 Jan 2007 13:39:35 +0100 Message-ID: <45B35F07.50404@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi I've just build a mediacenter, and is about to construct an hifi amplifier for it. Therefore i would like to know a way to make alsa detect when nothing is playing at the output, and then run a external command. And detect when something has started playing at the output, and run an external command before any output is generatet. This I would like to do, because I then could make an interface between the amplifier and the computer to make sure that it does not use anymore standbypower than needed. Any help would be appreciatet. Regards Andreas ------------------------------------------------------------------------- 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