All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbie question to period/buffer/tick time
@ 2006-01-26 17:32 Timo Steuerwald
  2006-01-31 14:21 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Timo Steuerwald @ 2006-01-26 17:32 UTC (permalink / raw)
  To: alsa-devel

Hi all!

I have some simple newbie questions:
How will be the period/buffer/tick time calculated?
How depends it on the other values?
What exactly means period and tick in ALSA?
And last but not least, where can I found the document where all this is 
explained? :-)

Cheers,

Timo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

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

* Re: Newbie question to period/buffer/tick time
  2006-01-26 17:32 Newbie question to period/buffer/tick time Timo Steuerwald
@ 2006-01-31 14:21 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2006-01-31 14:21 UTC (permalink / raw)
  To: Timo Steuerwald; +Cc: alsa-devel

At Thu, 26 Jan 2006 18:32:37 +0100,
Timo Steuerwald wrote:
> 
> Hi all!
> 
> I have some simple newbie questions:
> How will be the period/buffer/tick time calculated?

Buffer size of time defines the size of DMA ring buffer.
Period size or time defines the interval the DMA interrupt occurs.

If the number of periods is integer,
	buffer size = period size * number of periods
	buffer time = period time * number of periods

Forget about tick if you mean about the PCM.
It's anyway independent from buffer/period sizes.

> How depends it on the other values?

You don't have to care about other values usually.  They are only for
special use.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

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

end of thread, other threads:[~2006-01-31 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-26 17:32 Newbie question to period/buffer/tick time Timo Steuerwald
2006-01-31 14:21 ` 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.