bpa wrote: > Buffer fuillness is reported in nearly all STMx so you can tell if > server is slow to replenish but STMu is actual underrun - do you get any > STMu's ?
... ..... There are no STMu's. Not even at the end of the song, which according to the comments in my code is expected to happen. But the ratio of fullness to total, from STAT messages, calculated this way: unsigned int outputBufferFullness = uintFrom4(data + 33); unsigned int outputBufferTotal = uintFrom4(data + 29); clientBufferFullness_ = (float)outputBufferFullness / outputBufferTotal; ...accurately tells the true story - near the song beginning it gets as high as 0.6 or so, and then slowly drifts down. When it reports 0.0 I hear stuttering. If I pause the music and let a bunch of sends happen, and then unpause, the ratio is over .9 - and stays there for a bit but then drifts back down to 0, and stutters again. I'm having trouble believing that the thread in my server that's delivering buffers is lagging - it's using the real time scheduler with a priority of 97, and nothing else runs that high. CPU use is trivially low. Nagle is off. Nothing else but the trivial file read in that loop is blocking. send() is just returning very late, and only when it's pointed at a Classic. What the heck? ------------------------------------------------------------------------ ScottAM's Profile: http://forums.slimdevices.com/member.php?userid=69412 View this thread: http://forums.slimdevices.com/showthread.php?t=110986 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
