Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Lee Revell
On Dec 21, 2007 10:58 PM, Carlos Hernandez <[EMAIL PROTECTED]> wrote: > I know... and that's the reason why I can specify that, using the asound.conf. > aplay and arecord are not aware of those parameters in asound.conf. They just see a stream of 1s and 0s. You have to tell them how to interpret

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
Last version come with Alsa support (configure with --enable-mp4live-alsa) ALSAaudio_alsa_source.cpp in fact I've used Alsa, and it works perfect using "default" device. But file device doesnt :( On 22/12/2007, Bill Unruh <[EMAIL PROTECTED]> wrote: > On Sat, 22 Dec 2007, Carlos Hernandez wr

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Bill Unruh
On Sat, 22 Dec 2007, Carlos Hernandez wrote: > well... I really want to use another application(mp4live)... not arecord. > > So this application just ask me for : "sample rate", "channels" and > what Alsa device to use. Except that mp4live does not use alsa, it uses oss if I read the data right

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
well... I really want to use another application(mp4live)... not arecord. So this application just ask me for : "sample rate", "channels" and what Alsa device to use. I've tell it "plugfile" device, 44100 as sample rate, and stereo(2 channels). As you can see I cannot specify the format. When I

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Bill Unruh
On Sat, 22 Dec 2007, Carlos Hernandez wrote: > I know... and that's the reason why I can specify that, using the asound.conf. > > The source audio file is in 16 bit, 44100, stereo... but when I > record with arecord, it does with 8bit, 8k, mono. > > So I must change this before arecord "record" t

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
I know... and that's the reason why I can specify that, using the asound.conf. The source audio file is in 16 bit, 44100, stereo... but when I record with arecord, it does with 8bit, 8k, mono. So I must change this before arecord "record" the audio... where? .. I suppose this should be in asound

Re: [Alsa-user] FIle plugin and format change

2007-12-21 Thread Lee Revell
On Dec 21, 2007 9:39 PM, Carlos Hernandez <[EMAIL PROTECTED]> wrote: > Here the "format", "rate" and "channels" are set up, and these are the > same as the original audio file. Then I suppose I would not have to > specify these parameters with arecord. > running arecord: > > [EMAIL PROTECTED]:~$ a

[Alsa-user] FIle plugin and format change

2007-12-21 Thread Carlos Hernandez
Hi list I've asked help before about file plugin, and it does work fine. But I need something more. The raw file from which I'm reading audio is: Signed 16 bit Little Endian, 44100 hz, 2 channels. I've configured asound.conf this way: pcm.plugfile{ type plug slave {