bitspiel wrote: 
> Strm records already includes a sample rate, so I am not technically
> adding one. What my tweak does is replace the server's hard coded, for
> flac tracks, value of '?' with the track's corresponding value as
> documented for strm sample rate.

Agreed, I should have been more precised - for self-describing formats,
the size and rate is left to '?' in strms and only for pcm it is
explicitely set. What I was saying is that for flac, you find the sample
rate in the STREAMINFO header that is the first thing that is
transmitted (https://xiph.org/flac/format.html). 

Please not that this is not a criticism of the way you've implemented
that, just adding information if it helps :)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103688

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

Reply via email to