On Wed, Mar 18, 2009 at 09:41:24AM -0400, Jeff Flowers wrote: > In OpenBSD 4.4, I have noticed that if I launch Firefox when I am > already playing an audio CD (cdio) or listening to music (mpg123), the > audio will stutter. Usually it will recover and continue normal > playback but sometimes it cannot stop stuttering and I have to kill > and restart whatever I was listening to. I can't recall ever having > this problem in Vista or Linux. > > Is there a system setting that I can apply that might combat this? > This is on a system running OpenBSD 4.4 amd64 with the bsd.mp kernel. > My computer has a Core 2 Duo processor and 4GB of RAM. > >
you can run the audio app with higher priority or (better run firefox with lower priority), ex "renice -n 20 -p `pgrep firefox`" if you're using aucat as server you can use renice(8) to give aucat process negative priority and/or use larger buffers (-b option with large values). Applications connectining to the server should run without stuttering. This is for 4.5 only though. -- Alexandre

