Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-18 Thread Takashi Iwai
At Tue, 18 Mar 2008 06:28:28 +0200, Alexander Indenbaum wrote: > > On Tue, Mar 18, 2008 at 4:06 AM, Alexander Indenbaum < > [EMAIL PROTECTED]> wrote: > > On Tue, Mar 18, 2008 at 3:42 AM, Rene Herman <[EMAIL PROTECTED]> > wrote: > > Yes, aplay would've worked. What you are usin

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-18 Thread Rene Herman
On 18-03-08 14:02, Sergei Steshenko wrote: > On Tue, 18 Mar 2008 13:44:59 +0100 > Rene Herman <[EMAIL PROTECTED]> wrote: > >> On 18-03-08 05:28, Alexander Indenbaum wrote: >> >>> OK, it works on Linux 2.6 but silently fails on Linux 2.4. >>> Unfortunately, I need it to work on Linux 2.4 :) >>> S

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-18 Thread Sergei Steshenko
On Tue, 18 Mar 2008 13:44:59 +0100 Rene Herman <[EMAIL PROTECTED]> wrote: > On 18-03-08 05:28, Alexander Indenbaum wrote: > > > OK, it works on Linux 2.6 but silently fails on Linux 2.4. > > Unfortunately, I need it to work on Linux 2.4 :) > > So what can be done? > > Sorry, but I just don't ca

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-18 Thread Rene Herman
On 18-03-08 05:28, Alexander Indenbaum wrote: > OK, it works on Linux 2.6 but silently fails on Linux 2.4. > Unfortunately, I need it to work on Linux 2.4 :) > So what can be done? Sorry, but I just don't care about 2.4. It's obsolete. This was a proof of concept for you -- a final solution mig

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Alexander Indenbaum
On Tue, Mar 18, 2008 at 4:06 AM, Alexander Indenbaum < [EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 3:42 AM, Rene Herman <[EMAIL PROTECTED]> > wrote: > > > Yes, aplay would've worked. What you are using is trying to open > > controls > > for the card though and non are defined. If you will

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Alexander Indenbaum
On Tue, Mar 18, 2008 at 3:42 AM, Rene Herman <[EMAIL PROTECTED]> wrote: > Yes, aplay would've worked. What you are using is trying to open controls > for the card though and non are defined. If you will be using the dummy > driver anyway, use: > > pcm.!default { >typefile >slav

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Rene Herman
On 18-03-08 01:27, Alexander Indenbaum wrote: > Still no PCM in /tmp/pcm.out. I get following error messages though: > "(snd_determine_driver) could not open control for card 0" > "(_snd_config_evaluate) function snd_func_concat returned error: No such > file or directory" > "(snd_func_concat) er

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Alexander Indenbaum
On Tue, Mar 18, 2008 at 2:45 AM, Lee Revell <[EMAIL PROTECTED]> wrote: > > Please strace aplay and see what files it's trying to open. > You're absolutely right. I was missing /dev device files. So my test goes like this: - run snddevices script to create /dev - load snd drivers with Dummy comp

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Lee Revell
On Mon, Mar 17, 2008 at 8:27 PM, Alexander Indenbaum <[EMAIL PROTECTED]> wrote: > Still no PCM in /tmp/pcm.out. I get following error messages though: > "(snd_determine_driver) could not open control for card 0" > "(_snd_config_evaluate) function snd_func_concat returned error: No such > file or d

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Alexander Indenbaum
> > > pcm.!default { > > typefile > > slave { > > pcm null > > } > > file"/tmp/pcm.out" > > } > OK - this goes to /etc/alsa.conf > > > > > Exactly why you need that slave definition I'm not sure either, but it > seems > > you do

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Rene Herman
On 17-03-08 16:07, Takashi Iwai wrote: >>> 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 (

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Takashi Iwai
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 s

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Rene Herman
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. What happened? Alexander

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Rene Herman
On 17-03-08 04:35, Alexander Indenbaum wrote: > On Mon, Mar 17, 2008 at 5:18 AM, Rene Herman <[EMAIL PROTECTED] > Don't do it there. Use /etc/asound.conf or $HOME/.asoundrc ... > > > Generally I'd agree with you that $HOME/.asoundrc is way to go if it was > my desktop workstation. But thi

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-17 Thread Takashi Iwai
At Mon, 17 Mar 2008 04:18:15 +0100, Rene Herman wrote: > > On 17-03-08 03:57, Alexander Indenbaum wrote: > > > 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

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-16 Thread Alexander Indenbaum
On Mon, Mar 17, 2008 at 5:18 AM, Rene Herman <[EMAIL PROTECTED]> wrote: > On 17-03-08 03:57, Alexander Indenbaum wrote: > > > 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 i

Re: [Alsa-user] [alsa-devel] /usr/share/alsa/alsa.conf :and file extention

2008-03-16 Thread Rene Herman
On 17-03-08 03:57, Alexander Indenbaum wrote: > 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