PasTim wrote: 
> My Marantz is a bit picky, and won't accept wav(24).  I suspect that
> trying to be pedantically accurate is the best plan.  I guess you could
> have a 'try this' option with red warnings all around it.

I've added a dev version 1.2.0.1 which is a bit more aggressive wrt to
'raw' PCM utilisation. Basically, when using 'pcm' transcoding and
receiving a compressed format, it will try to use 'raw' even if the
sample size is kept to source and sample rate kept to source ot "No
higher" is set. 

It does that by asking LMS the *original* source file's sample rate &
size and trying to see if the player would accept these (if the no
higher option is ticked, it will try that for the maximum rate, not the
source file's one). If the player accept these, it's a go.

Now, the actual rate and size are only known when the audio data is
received, so it will tell the UPnP player, in the initial "play" request
that it will receive pcm, but details are still unknown, which seems to
be accepted by all my players so far. Then, when starting to send the
actual data, it tell in the HTTP header the real rate and size. 

The issue is if you do transcode in LMS to a *higher* sample size & rate
(C3PO for example) than the file's originals and these rate/size are not
accepted by the player, playback will fail at the late stage. Seems to
me it's an acceptable trade-off but now I need to know if UPnP devices
widely accept this "pcm will be sent but unkown details at this time"
play request.

As a reminder, if sample rate and size are set to fixed values, none of
these potential problems will happen.



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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

Reply via email to