Adjusting pcm buffersize?

Conrad Sabatier conrads at cox.net
Tue Apr 15 18:35:55 PDT 2003


On 15-Apr-2003 Wade Majors wrote:
> Ok, Orion Hodson is a genius. I don't know how he diagnoses this stuff 
> so easily.
> 
> I have traced the problem to the esound daemon. Taking esd out of the 
> loop and using the OSS driver in XMMS works flawlessly under the same 
> situations that I was getting the underruns with esd. I switch the 
> output to Esound and the problems return.
> 
> Huh.
> 
> Since it seems not much stuff will work writing directly (or am I 
> mistaken?), what are my alternatives here?
> 
> Do others seeing this problem have the same results writing directly to 
> the device?

No.  I don't use esound, artsd, or any other sound daemon.  Just straight
mpg123 (built without esound).  It mostly works fine, except under heavy
loads (buildworld or huge port builds), or when text is scrolling in
certain apps (interrupt problems?), in which case it either slows down,
breaks up, or both.

So, I think the problem runs a bit deeper than suggested.  Sure, a sound
daemon will impact performance, but the problem exists even without.

-- 
Conrad Sabatier <conrads at cox.net> - "In Unix veritas"


More information about the freebsd-current mailing list