From: Giuliano Pochini Subject: Ctl events problem Date: Sun, 6 Mar 2005 18:02:52 +0100 Message-ID: <20050306180252.22b03da3.pochini@shiny.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: alsa-devel@alsa-project.org I'm updating echomixer to make it take into account control events. It works well, but I have a problem with a "virtual" control. Some cards work this way: Inputs ----> monitor mixer ---- \ >----> line-out volume ----> Outputs / PCM -------> PCM volume ------- But some cards do not have the line-out volume control and since it's a very handy feature echomixer emulates it by changing both PCM playback volume and monitor mixers according to the setting of the virtual line-out control. The problem is ALSA does not deliver events of that non-existent control... because it doesn't exist. It delivers events of PCM vol and mmixer instead, which is exactly the opposite of what I need. One possible solution is to move all that emulation stuff into the driver :-6 Otherwise is it possible to write a plugin for alsa-lib that does the emulation for cards that require it ? (docs ?) Other ideas ? -- Giuliano. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click