Re: Output latency

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

 



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

-------------------------------------------------------------------------
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