Re: set_params:901: Sample format non available

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

 



Lee Revell wrote:
> > On Sat, 2006-09-30 at 11:07 +0200, Udo van den Heuvel wrote:
>> >> This stuff worked under Windoze.
>> >> How can I fix this?
>> >> Am I doing something wrong?
> >
> > Yes.  Use plughw:1 rather than hw:1.  Or just use default:1 for
> > automatic rate, format, channel conversion and dmix.

Thanks for the tips. I did some tests.

The setup:

CD -> coax -> DiO 2496

Envy24control: masterclock spdif in
rate state locked
input coax


The tests:

 arecord -d5 -r44100 -Dplughw:1 > /data/0/test0.wav
Recording WAVE '(null)' : Unsigned 8 bit, Rate 44100 Hz, Mono

gives low quality audio


 arecord -d5 -fcd -Dplughw:1 > /data/0/test0.wav
Recording WAVE '(null)' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

gives silence


arecord -d5 -fcd -Ddefault:1 > /data/0/test0.wav
Recording WAVE '(null)' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

silence


arecord -d5  -Ddefault:1 > /data/0/test0.wav
Recording WAVE '(null)' : Unsigned 8 bit, Rate 8000 Hz, Mono

silence


arecord -d5 -r44100 -f S16_LE -Dplughw:1 > /data/0/test0.wav
Recording WAVE '(null)' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

audio, mono but OK


 arecord -d5 -r44100 -f S16_LE -c 2 -Dplughw:1 > /data/0/test0.wav
Recording WAVE '(null)' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

silence


 arecord -d5 -r44100 -f S16_LE -Ddefault:1 > /data/0/test0.wav
Recording WAVE '(null)' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

silence



So I can not record stereo from sp/dif.
What is my mistake?

Udo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://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