Comment 55 for bug 996906

Revision history for this message
In , Rkfg (rkfg) wrote :

It turned out that garbled sound in LMMS with alsa output was because of "options snd-hda-intel position_fix=1" I used in module options. Tried to fix this skips but it didn't work. After removing this option and reloading the snd_hda_intel module, LMMS sounds much better with alsa output but that clicks are still audible sometimes. PA also seems to lower latency after an underrun occures as I see in the log latency increasing like 1-2-4-8-4-8.

The lowest latency I've got with paplay is 8 msec, any less produces clicks or garbled sound.

> aplay -D hw:0,0 -v --buffer-size=1024 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1239: Channels count non available

However, device "default" works fine. The lowest buffer size that doesn't underrun is 3072.