All of lore.kernel.org
 help / color / mirror / Atom feed
* question about minimum latency. (jack) how to calculate it?
@ 2004-11-22  6:15 Pierre-Laurent CHAMBERT
  2004-11-23 17:11 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Laurent CHAMBERT @ 2004-11-22  6:15 UTC (permalink / raw)
  To: alsa-devel

Hi!

I would like to know how I can improve latency on digi32/8 driver.
The card has got a buffer of 128Ko, and block size per interrupt is 8Ko (so it 
makes 16 interrupt for the whole buffer). When I start jack I can use only 
setup 256 frame/periods (32bits, 8channel in adat mode) and 16 periods/
buffer. So this mean I can only have 80ms of latency?!? It's not possible to 
use less than 16 periods? 
I mean, a sound is recorded, the card send an interupt so the sound just 
recorded can not be read in the memory, and write back in memory 2 interrupts 
after? 
Maybe I miss something here, I already try to change number of periods/buffer 
in the driver, but of course with no luck.
So if the buffer size (128Ko here) and block size (8Ko) are always the same it 
cannot get a lower latency?

Thank you!

Pilo




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: question about minimum latency. (jack) how to calculate it?
  2004-11-22  6:15 question about minimum latency. (jack) how to calculate it? Pierre-Laurent CHAMBERT
@ 2004-11-23 17:11 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-11-23 17:11 UTC (permalink / raw)
  To: pilo.c; +Cc: alsa-devel

At Mon, 22 Nov 2004 07:15:02 +0100,
Pierre-Laurent CHAMBERT wrote:
> 
> Hi!
> 
> I would like to know how I can improve latency on digi32/8 driver.
> The card has got a buffer of 128Ko, and block size per interrupt is 8Ko (so it 
> makes 16 interrupt for the whole buffer). When I start jack I can use only 
> setup 256 frame/periods (32bits, 8channel in adat mode) and 16 periods/
> buffer. So this mean I can only have 80ms of latency?!? It's not possible to 
> use less than 16 periods? 
> I mean, a sound is recorded, the card send an interupt so the sound just 
> recorded can not be read in the memory, and write back in memory 2 interrupts 
> after? 
> Maybe I miss something here, I already try to change number of periods/buffer 
> in the driver, but of course with no luck.
> So if the buffer size (128Ko here) and block size (8Ko) are always the same it 
> cannot get a lower latency?

The latest CVS version of JACK includes my patch to improve the
latency on the cards like yours.  Please give a try.


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-23 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22  6:15 question about minimum latency. (jack) how to calculate it? Pierre-Laurent CHAMBERT
2004-11-23 17:11 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.