Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    May 2008

    Preferred Sample Rate

    While I was working on the squeezelite esp32 port, I was thinking about the following use case:

    Today, squeezeplay-based players report their maximum sample rate and when LMS has a track above that rate, it tries to resample. I say "tries" because it does not always have the rules to do that, especially on live stream.

    In my case of the esp32, it can do resampling, but at a lower quality. So it would be better that LMS does it if it can (it probably has more CPU) but it would be acceptable to send the stream as is. So a player could not only send a "MaxSampleRate" in its capabilities, but it could also send a "PrefSampleRate" which is a rate, or a list of rates that he would prefer LMS to use and to resample to one of these rates if possible.

    I realise it might be too much a corner case

    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

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005

    Preferred Sample Rate

    > I realise it might be too much a corner case

    Given the feedback so far I guess you're right :-D



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts