Hello, Selon Daniel Ribeiro <drw...@gmail.com>:
> Em Qui, 2009-03-19 Ã s 23:28 +0100, Alain2210 escreveu: > > But arecord still does not work. It may be normal. > > It works if you respect the hardware limitations and select the mono > DAI. (the stereo DAI cant capture). > > ie. 8000 or 16000 rate, 16bit mono. > Any other configuration will return EINVAL. > > For a quick test, you can simply: > cat /dev/dsp > /tmp/test > ^C > cat /tmp/test > /dev/dsp > > Dont forget to set the input gain level on alsamixer (IIRC F5 shows all > mixer controls). > > The recording is still very noisy, im not sure what is causing this. > I will look at it after i finish some other higher priority tasks. > Thanks a lot for the explanation. Yes it works with "cat /dev/dsp > /tmp/test" after having put the mixer on mono. By the way, I have succeded in using arecord with this command : arecord -D hw:0 -f S16_LE -t wav /tmp/test2.wav without the -D hw:0 I get ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream it seems to be due to /etc/asound.conf : pcm.!default { type plug slave.pcm "dmix" } Thanks again, Alain _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland