On Thu, 06 Nov 2008 22:23:42 +0100
Eduardo García <[EMAIL PROTECTED]> wrote:

> Sergei Steshenko escribió:
> > On Thu, 06 Nov 2008 21:20:25 +0100
> > Eduardo García <[EMAIL PROTECTED]> wrote:
> >
> > [snip]
> >
> >   
> >> tested the following
> >>
> >> [EMAIL PROTECTED]:~$arecord --rate=44100 test.wav
> >> Result: Another 44 Bytes wav file.
> >>
> >> So I tried.
> >>
> >> [EMAIL PROTECTED]:~$ arecord -D hw:0,0 --rate=44100 test.wav
> >> Recording WAVE 'test.wav' : Unsigned 8 bit, Ratio 44100 Hz, Mono
> >> arecord: set_params:918: ample format non available error.
> >>
> >> :S no luck right now
> >>
> >>     
> >
> >
> > Try to increase number of bits in PCM - I mean this "Unsigned 8 bit" may be
> > incompatible with the card.
> >
> > You may simply try
> >
> > -f cd
> >
> > which is "-f cd (16 bit little endian, 44100, stereo)".
> >
> > Regards,
> >   Sergei.
> >
> >   
> :S
> 
> Getting same behaviour even with that
> 
> [EMAIL PROTECTED]:~$ arecord -f cd test.wav
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Ratio 44100 Hz, 
> Stereo
> -> Same nasty 44 Bytes long wav
> 
> [EMAIL PROTECTED]:~$ arecord -D hw:0,0 -f cd test.wav
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Ratio 44100 Hz, 
> Stereo
> arecord: set_params:918: Sample format non available error.
> 
> Do you think there is something wrong in my setup?
> 

I have no idea.

Your hw:0,0 might be wrong, i.e. you might be trying to capture from a
playback device.

On my ALC883 it's like this:

ls -1 /proc/asound/card0/pcm*c/info
/proc/asound/card0/pcm0c/info
/proc/asound/card0/pcm1c/info
/proc/asound/card0/pcm2c/info

, i.e. there are 3 capture devices, of them 0,0 and 2,0 are analog
and 1,0 is digital.

Check what you have.

Regards,
  Sergei.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to