xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

Latest update stutters sound on starting a track..... #770

Closed coderpop closed 8 years ago

coderpop commented 8 years ago

Fully up-to-date upgrade from yesterday and all went well until I played some music. A track starts by playing about 0.5 seconds of sound, then silence for a second or two and then starts the track. Sometimes it can do this a few times, others only once and I believe it didn't do it at all at one point. This is being played via I2S dac.

Here's the log....

http://pastebin.com/26yd0KYH

CurlyMoo commented 8 years ago

It also occasionally stutters while playing a full album (e.g. music for a longer period of time).

coderpop commented 8 years ago

I have not seen that yet CM, it seems that once it's playing it's OK. I'll try some streaming radio and more full albums today and see how I get on.

coderpop commented 8 years ago

Three hours + of streaming radio and no problem. Back to local server and problem is back. I think it might be a samba issue as that's the only thing I can think of that would be different between streaming from the net and from the server. I am using smb/cifs mount but never had issues with it before and nothing else has changed.

Smultie commented 8 years ago

Could you try FTP or NFS, just to exclude...?

mkreisl commented 8 years ago

Sounds like a buffering problem (that's also different between local and internet streaming)

Could you please check these settings? http://kodi.wiki/view/HOW-TO:Modify_the_cache Maybe <buffermode>1</buffermode> could solve your issue

coderpop commented 8 years ago

I can confirm that CM's observation is correct and stuttering (or drop out) happens randomly as well.

@Smultie - If I knew how I could, but I can't at the moment.

@mkreisl Here is what is in the advanced xml file right now.....

advancedsettings network cachemembuffersize20971520/cachemembuffersize readbufferfactor>4.0</readbufferfactor /network

So should I add the buffer command to this or replace the one that's already there?

mkreisl commented 8 years ago

@coderpop add

coderpop commented 8 years ago

I tried both options (adding and repalcing) and it didn't solve the problem!

coderpop commented 8 years ago

Seems to be cured with todays update too... :)