At Mon, 9 Sep 2002 19:23:20 -0400 (EDT), Igor Gueths wrote: > > Hi all. I've noticed some peculiarities with my driver that I'm hoping to > clear up here. Whenever I use arecord to record a wav, I always try to use > the following sample format: 16-bit unsigned 44100 hz. However, when I try > using this format, arecord outputs something similar to: xrun: at least > 0.185 ms long xrun: at least 0.130 ms long. The value is constantly > changing. However, if I use the same sample format -fS16_LE -c2 -r44099, I > can record fine. Is it just the snd-cs4236 driver that doesn't like audio > input that exceeds 44099 hz? Also, whenever I record audio using rec > (which uses the oss interface, I can only record using a samplerate of up > to 40089 hz. If I try rates above 44089, the program will operate as > normal (no aronious values being printed to stdout), however the resulting > file's content is all silence. Any ideas why this would occur? Also when I > attempt to use applications such as Speakfreely, they still don't work > even though oss-emulation is working to some extent or so it seems. My > config: Debian Woody (3.0r0)i686 with Crystal-CS4236B isapnp card, and > alsa-0.9.0rc1. The contents of /proc/asound/oss/sndstat doesn't show any > errors or warnings, so I take it everything is as should be. I am aware > that I have posted similar threads on this or similar subject, and I > apologize if anyone thinks I am spamming the list, which is not the case. > I have just been doing various different types of testing and this is just > my progress over the last day. Does anyone know why arecord would behave > the way I have described, or why I have oss working to a certain degree > but not completely? Thx!
please check the files (especially hw_params) under /proc/asound/card0/pcm0c/sub0 for each case. you can compare which set-up is exactly different. Takashi ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user