Skip to contentSkip to conversation

xruns, numlock, and threads

DISCUSSION Jan P. 1 participant 1 message Feb 27, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jan P.

author
#1 lore raw

hi folkx-

developing my looping application, i noticed a couple of things:

1) adding a thread to a jack application while it is active causes a big (~15ms) xrun.

2) pressing numlock, capslock, or scrollock causes a big (~9ms) xrun.

this is running 2.4.18-pre6 with LL patch and alsa 0.9.0beta10, jack cvs as of about a month ago.

btw paul, using the cvs jack instead of the old 0.4.7 that was on the jack page fixed the problems i was having with my ac97 crashing at low buffersizes...

besides the above cases, i still get the occasional xrun (always short, within 1-2 samples of the fragment size). but nothing totally poops the system out. i suspect these shorty xruns are coming from the poopy ac97.

i solved the problem with threads by changing my design so that i create all threads before i start processing. its not that big a deal, its just that my memory allocation manager which handles preallocating blocks for recording needed to be shuffled around.

as for the numlock thing, totally weird. i wonder if its a RH7.1 console thing... anyway, as it is, im psyched to have lowlatency fullduplex audio FX on my $300 computer with a consumer sound card.

best,
yon

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel