Skip to contentSkip to conversation

snd_pcm_avail_update does not return until I have 32768 bytes ready

DISCUSSION William Estrada 1 participant 1 message Aug 31, 2008

lore
Share & tools
lore
#0 lore raw

Hi group,

I am having a little problem with ALSA. My problem is that
snd_pcm_readi does not return
until i have 32768 bytes available. I want to get an interrupt back when I have 80 bytes
( 1/100 of a second ). This delay is about 4.09 seconds which is much too long to want.

My question is how do I tell ALSA to return from snd_pcm_avail_update
when I have
80 bytes ready to read?

Signature · 4 lines
William Estrada
[email protected]
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum