Re: Output latency

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

 



Hi Helge,

what we actually discuss is more a principle of the driver related to buffer management and in how far this could reduce the latency. But thanks anyway !

-- A l e x

-------- Original-Nachricht --------
> Datum: Wed, 11 Jun 2008 18:06:27 +0200
> Von: "Helge Fredriksen" <helgeingvart@xxxxxxxxx>
> An: "Clemens Ladisch" <cladisch@xxxxxxxxxxxxxx>
> CC: alsa-user@xxxxxxxxxxxxxxxxxxxxx, "Alexander Carôt" <alexander_carot@xxxxxxx>
> Betreff: Re:  Output latency

> Did you try the settings in /etc/security/limits.conf suggested on the
> Frinika
> front page? (http://frinika.sourceforge.net). I noticed quite some
> difference in delay for
> Terratec Aureon 5.1 Fun cards using JavaSound.
> 
> Helge F.
> 
> On Wed, Jun 11, 2008 at 10:11 AM, Clemens Ladisch
> <cladisch@xxxxxxxxxxxxxx>
> wrote:
> 
> > Alexander Carôt wrote:
> > > 3.) Rather than using a double buffer for the playout wouldn't it be
> > > possible to choose only one physical playout buffer and parse the
> > > captured data in right at the interrupt.
> >
> > It's unlikely that any code could be fast enough to write the entire
> > buffer before the hardware starts reading from the buffer; in fact, the
> > hardware is likely to read the first sample from the buffer at the same
> > time it is triggering the interrupt for the previous period.
> >
> > To reduce output latency, just reduce the output buffer size.  For
> > example, you could use a buffer with 128 samples (with 2 64-sample
> > periods).
> >
> >
> > HTH
> > Clemens
> >
> >
> -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Alsa-user mailing list
> > Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> >

-- 
Dipl.-Ing. Alexander Carôt
PhD Candidate
Email : Alexander@xxxxxxxx
Tel.: +49 (0)177 5719797



Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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