bits wrote: 
> Is the track length being accurately reported to foobar for the
> transcoded files? Or even for the MP3 files that started all this?
> 
> Foobar should trigger it's cross fade mix point at latest by the cross
> fade timer.
> Eg 2 minute song, 6 second crossfade duration, mix point is at 1:54.
> If the length is not accurately reported the cross fade point will be
> missed.
> 
> Or is the problem just delays in upnp request and delays in transcode
> init which results in stream flowing many seconds after foobar requests
> and crossfade point is missed?

The duration is accurate, I’ve checked. Now the UPnP seems to behave
strangely together with the buffering system. I use the nexturi option
of UPnP which normally allows a controller to tell the player at any
time what is the ‘next track’ to be played so that the player can buffer
in advance. In my plugin, I send that information as soon as the whole
audio has been sent but what I observe is that the UPnP plugin seems to
wait till everything has been put in the audio buffer before grabbing
the next track. Hence increasing this buffer helps. There seem to be
other parameters that I don’t fully understand but at least the
modification I made yesterday was to add an estimate of the number of
sample in the header of each transcode (it’s optional, must be 0 when
unknown) track and it seems to help (it’s estimated because I don’t know
it till the whole track has been sent, so it’s impossible to have the
true value) Hi



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=113767

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to