Am Donnerstag, 2. Februar 2006 23:50 schrieb Lee Revell:
> On Thu, 2006-02-02 at 23:36 +0100, Steffen Schwientek wrote:
> > Am Mittwoch, 1. Februar 2006 04:55 schrieb Steffen Schwientek:
> > > If I work with ecasound I get the same message..
> > >
> > > > $ arecord -D plughw:1 -f dat /tmp/test-dat-quality.wav
> > >
> > > Works, but the frequency is wrong.
> > >
> > > arecord -D plughw:1  -f S16_LE -c2 -r32000 /tmp/test-dat-quality.wav
> > >
> > > works much better.
> > >
> > > OK,  I still need something to glue this together. Simply piping
> > > arecord | aplay results in a delay between tv and sound...
> >
> > I don't get it. If I simply put this informations in an .asoundrc,
> > ecasound refuse to work.
> >
> > Here is my .asound:
> > pcm.tv {
> >         type rate               # Rate PCM
> >
> >         slave {                 # Slave definition
> >             format "S16_LE"
> >             rate 32000
> >             pcm "hw:1,0"        # Slave PCM name
> >     }
> > }
>
> Well, it looks like your sound hardware doesn't support S16_LE at
> 32000Hz. 

I can record a stream from the tv (saa7134_alsa driver) using 
arecord -D plughw:1  -f S16_LE -c2 -r32000

I need to translate this to ecasound .asoundrc or jack (or whatever) to get it 
working, since piping the arecord output to aplay results in a delay between 
tv and sound.

However, I can use 
ecasound -d 1  -i alsahw,1 -o alsa, but I'll get a lot of playback underruns. 
Withoud the debug option I'll get an simple Invalid argument.

> What soundcard is this? 

Sound of the pcmcia tc-card (saa7134_alsa).  Damned card...

Steffen


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to