Kodi Community Forum

Full Version: Lags on music playback
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

i have problems on music playback (movie playback works fine).
Now and then the music lags for some milliseconds (maybe nanoseconds Big Grin) at the end of a track. It seems that it have nothing to do with the music-file itself. E.g. playing xyz.mp3 sometimes lags at the end and sometimes it plays perfect without a problem.

The hardware should be powerful enough to playback audio without lags:
CPU: Pentium® Dual-Core E5200 @ 2.50GHz
Mainboard: Zotac Geforce 9300-ITX WiFi
RAM: 2 GB
Using onboard analog 5.1 audio output on XBMC 10.0 r35648 on a minimal Ubuntu Karmic (installed using xci.sh).

Here is the xbmc.log.
In this case the lag happend at the end of track d.mp3 (before e.mp3 is playing).
Maybe the following line has something todo with the problem?
Code:
CALSADirectSound::AddPackets - buffer underun (tried to write 1024 frames)

I hope you can help me fix my audio problems.
BTW: A buddy of mine has the same problems using the same hardware/software but passthrough instead of analog output.

Best Regards,
MKay