From: Takashi Iwai Subject: Yet another round around surround Date: Fri, 07 Apr 2006 15:50:25 +0200 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII 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 Hi, in the previous mail, I forgot the newest one. (Per request from Lee) I implemented A52 (aka AC3) output plugin. This requires libavcodec of ffmpeg as the encoding engine, thus the plugin itself is pretty clean and simple. The plugin encodes 2-6 channel PCM input and outputs the compressed stream to SPDIF. When you have an SPDIF output device on your board, you can try this. For example, define the below in ~/.asoundrc: pcm.a52out { type plug slave.pcm { type upmix slave.pcm { type a52 } } } then you can play via "a52out" PCM % aplay -Da52out foo.wav See alsa-plugins/doc/a52.txt for details. BTW, combining this one and dmix is impossible, unfortunately, because dmix needs the background-DMA transfer but this plugin does explicit copying. Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642