bpa wrote: 
> To ensure a non 44.1 sample rate input is played correctly - you need to
> inform the player and that means you need to use a format which has
> header such as WAV and Flac. 
> 
> The alternative is usually to create your own "protocol" and invoke a
> special plugin handler.

Sorry, I was not clear. My squeezlite instance is, for that purpose,
only declaring supported codec to be 'pcm'. That forces LMS to only send
uncompressed audio. Then on the fly, I add a WAV header based on the
information that LMS gives me and here I add the proper sample rate and
size. This is the way my two bridges work. 

Because LMS was lacking a mp3 ==> wave rule, I added it. So far so good
for all mp3 files that are 44.1. But when using a few live stream that
are not 44.1Khz, I realized that LMS always tells me that sample rate is
44.1, so what I add in the WAV header is wrong. I tried to correct that
by forcing the rule to resample to 44.1 as it seems that LMS has a bug
here in detecting the sampling rate of the source feed



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=104902

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

Reply via email to