Skip to contentSkip to conversation

Period Size in ymf724

DISCUSSION Shaju Abraham 2 participants 2 messages Sep 23, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,
We tried using a ymf724 pci sound card and observed that the
minimum period size we can get is 944 bytes.( with -F switch of aplay). We had tried the same switch of aplay with a cmipci card and the minimum period size we could get was about only 64 bytes.

Basically, we are trying this 'cos we want the card to raise interrupts as frequently as possible.

Is this a h/w limitation of ymf724 card or is there any way we can get to reduce the period size on a ymf724 card to around 64 bytes ?

Thanx in advance,
Shaju Abraham

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Mon, 23 Sep 2002 09:43:20 +0530,

Quoted 6 lines · Shaju Abraham

Hi all,
We tried using a ymf724 pci sound card and observed that the
minimum period size we can get is 944 bytes.( with -F switch of aplay). We had tried the same switch of aplay with a cmipci card and the minimum period size we could get was about only 64 bytes.

unfortuantely both cards can't work with such a small period size. i don't think any consumer card works with 64 bytes per period.

Quoted 6 lines

Basically, we are trying this 'cos we want the card to raise interrupts as frequently as possible.

Is this a h/w limitation of ymf724 card or is there any way we can get to reduce the period size on a ymf724 card to around 64 bytes ?

no. ymf724 produces interrupts with a fixed frequency (256/48000 = 5.333 msec), independent from the buffer or period size.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf