From: Giuliano Pochini Subject: alsa-lib Virtual Volume control Date: Thu, 22 Sep 2005 17:36:52 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org I'm trying to create a virtual volume control that acts as a Line Playback Volume (or master, if you prefer). I modified control_hw.c in order to intercept r/w operations on the following controls: PCM out volume Monitor mixer Virtual volume On writes to PCM-out it has to write the values modified by vvol. That's ok, but how can I make alsa-lib to not deliver the events about PCM out when they are generated by a write to vvol ? I also need to keep the settings of the virtual mixer and PCM out controls somewhere and system-wide. Is it fine to add two fake controls to store them ? -- Giuliano. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your ver= y own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php