From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: /usr/share/alsa/alsa.conf :and file extention Date: Mon, 17 Mar 2008 16:07:27 +0100 Message-ID: References: <47DDE2F7.7000904@keyaccess.nl> <47DE6543.9000909@keyaccess.nl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8A233103859 for ; Mon, 17 Mar 2008 16:07:28 +0100 (CET) In-Reply-To: <47DE6543.9000909@keyaccess.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Rene Herman Cc: alsa-user , alsa-devel , Alexander Indenbaum List-Id: alsa-devel@alsa-project.org At Mon, 17 Mar 2008 13:34:11 +0100, Rene Herman wrote: > > On 17-03-08 09:05, Takashi Iwai wrote: > > At Mon, 17 Mar 2008 04:18:15 +0100, > > Rene Herman wrote: > > >> Don't do it there. Use /etc/asound.conf or $HOME/.asoundrc ... > > > > Or /etc/asound.conf. It's the additional place for the system-wide > > definitions. > > That's what I said. Ah, I must have been too careless... > >> Also note that /tmp/pcm.out will be headerless PCM and is recreated > >> for individual opens. I don't believe there's an append mode or anything > >> (and you'd need to make sure that everyone plays the same format) so not > >> toot sure if this is what you need to have a catch all audio-sink... > > > > Recently I added a new option "truncate" to file plugin. As default, > > it's set to true (for compatibility reason), and the plugin overwrite > > the existing file if reopened. When it's set to false, a new file is > > created with a different suffix (up to 1000 files) at each time. > > That sounds useful... And I added another new feature to the file plugin to write WAV files instead of raw files now to HG tree. You can specify the format "wav" instead of "raw" (the default one). It's a so dumb implmenetation and has no check for over 2GB files. But it might be more useful in many cases than raw outputs. Takashi