Re: Basic PCM Recording

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

 



On Sun, 3 Oct 2010 00:46:27 -0400
Paul Braman <bramankp@xxxxxxxxx> wrote:

> Paul Braman wrote:
> >
> > I guess therein lies some of the fundamental difference with how I was
> > previously thinking. I figured I could just ask the driver/device for
> > some basic defaults that should work but, instead, I should *tell* it
> > what basic defaults I can live with. (Set buffer size near 1s and
> > period size near 125ms.)
> 
> I've come to the conclusion that this is stupid as hell. ALSA is
> fundamentally flawed if it requires me to set anything more than the
> access/format/channels/rate to make basic recording work. I should be
> able to ask what the period size is it uses by default for the
> hardware and do reads of that size without fear of "xrun" conditions
> on my otherwise-unloaded 533MHz CPU.
> 
> All of the documentation and examples I've found on the ALSA wiki and
> in various other places have yet to state this basic premise, which I
> consider another great flaw in ALSA. Examples show how to make basic
> settings but never explain that you can't expect reliable behavior
> without doing so.
> 
> I'm almost afraid to venture into this realm of basic S/PDIF recording
> with ALSA, but I have to because that's my job.
> 
> 
> Paul Braman
> 


Maybe these:

http://www.alsa-project.org/main/index.php/Low_latency_howto
https://lwn.net/Articles/120797/

can help ?

Regards,
  Sergei.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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