From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander Indenbaum" Subject: /usr/share/alsa/alsa.conf :and file extention Date: Mon, 17 Mar 2008 04:57:43 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1448045522==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-user-bounces@lists.sourceforge.net Errors-To: alsa-user-bounces@lists.sourceforge.net To: alsa-user , alsa-devel List-Id: alsa-devel@alsa-project.org --===============1448045522== Content-Type: multipart/alternative; boundary="----=_Part_6440_11188141.1205722663149" ------=_Part_6440_11188141.1205722663149 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm playing with embedded system without any hardware sound device. I'd like to grab sound from ALSA application, for instance Firefox displaying YouTube clip inside flash plugin and to store output PCM stream into file on local disk. I got an advice to use File extension. So I defined following /usr/share/alsa/alsa.conf pcm.default{ type file file /tmp/pcm.out } But when alsa lib still complains about "Unknown PCM plughw:0,0" "Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_file.so" I have a nasty feeling that syntax of my /usr/share/alsa/alsa.conf is broken beyond recognition. I wonder what is the correct way to define my situation: * No real audio devices * All sound is output goes to file as PCM stream Do you have a clue? Alexander Indenbaum ------=_Part_6440_11188141.1205722663149 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello,

I'm playing with embedded system without any hardware sound device. I'd like to grab sound from ALSA application, for instance Firefox displaying YouTube clip inside flash plugin and to store  output PCM stream into file on local disk. I got an advice to use File extension. So I defined following /usr/share/alsa/alsa.conf

pcm.default {                                                                  
        type file                                                             
        file /tmp/pcm.out                                                      ; 
}      

But when alsa lib still complains about
"Unknown PCM plughw:0,0"
"Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_file.so"

I have a nasty feeling that syntax of my /usr/share/alsa/alsa.conf  is broken beyond recognition. I wonder what is the correct way to define my situation:
* No real audio devices
* All sound is output goes to file as PCM stream

Do you have a clue?
Alexander Indenbaum ------=_Part_6440_11188141.1205722663149-- --===============1448045522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1448045522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user --===============1448045522==--