Re: Trying to capture mixed output with arecord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 06 Nov 2008 22:23:42 +0100Eduardo García <ed.garcia0005@xxxxxxxxxxx> wrote:
> Sergei Steshenko escribió:> > On Thu, 06 Nov 2008 21:20:25 +0100> > Eduardo García <ed.garcia0005@xxxxxxxxxxx> wrote:> >> > [snip]> >> >   > >> tested the following> >>> >> eduardo@pcbox:~$arecord --rate=44100 test.wav> >> Result: Another 44 Bytes wav file.> >>> >> So I tried.> >>> >> eduardo@pcbox:~$ 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> > eduardo@pcbox:~$ arecord -f cd test.wav> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Ratio 44100 Hz, > Stereo> -> Same nasty 44 Bytes long wav> > eduardo@pcbox:~$ 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 aplayback 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 analogand 1,0 is digital.
Check what you have.
Regards,  Sergei.
-------------------------------------------------------------------------This SF.Net email is sponsored by the Moblin Your Move Developer's challengeBuild the coolest Linux based applications with Moblin SDK & win great prizesGrand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux