Skip to contentSkip to conversation

Newbie question to period/buffer/tick time

DISCUSSION Timo Steuerwald 2 participants 2 messages Jan 26, 2006 – Jan 31, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

At Thu, 26 Jan 2006 18:32:37 +0100,

Quoted 5 lines · Timo Steuerwald

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.

Quoted 1 line

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