6 May 2012 18:21
How to debug gapless issues?
Jonas Wielicki <j.wielicki <at> sotecware.net>
2012-05-06 16:21:12 GMT
2012-05-06 16:21:12 GMT
Hi folks, I am still struggling with a gapless (or not) playback issue I'm having since I got the SSD in my player. As this is nonstandard hardware, I guess its best when I track the bug by myself, but I need some advice where to look for potential issues. My first thought was that it might be due to the SSD being slow when writing changes to the playlist control file. So I tried to disable all writing by putting a return 0 right at the start of flush_cached_control in playlist.c, but that did not fix the issue. It should be no problem in buffering, as the buffers are pretty full in the buffering thread debug screen. The songs are all ogg/vorbis, so it should not be an codec issue; also, everything was fine before the SSD upgrade. When turning on Crossfade, after an reboot, crossfading works, but it feels as if there is a lag between the start of crossfade and the press of the next button on manual skip. Crossfading works then though. On end-of-track skipping, there is still a lag and no crossfading (although I set it to be on Always). I based my work on the v3.11 branch, however, I could not find any relevant bugs in the bugtracker for this version which would explain that behaviour. So basically I'm looking for pointers on where to look for potential gap-causers or in general means to debug this problem. Any suggestions?(Continue reading)
RSS Feed