
Originally Posted by
JttL
Let me explain a bit. Buffer size is value in bytes used as primary buffer to store data from emulator until it is copied to secondary buffer to be played out.
Crackling is caused by incorrect high buffer level value. It should be much less than buffer size. If it's set to be equal to buffer size then audio chunks from emulator that can't fit to buffer are dropped. And as said that can be heard as crackling. Skipping is heard when secondary buffer ( that's sdl's own alsa buffer) runs out of data and plugin don't have anything to fill it up with. That's mostly caused by your too slow machine. Sometimes it helps to raise secondary buffer size.
Actually I think that you should try to set high buffer level very close to low buffer level. Setting it lower than low buffer level will probably cause something nasty and unexpected...