mrw wrote: 
> Well, in this case the underlying constraint is that 'high sample-rate'
> flac requires an output threshold of 2 seconds (20 tenths). So that
> kills 353/384 kHz streams, but didn't worry 176/192 kHz streams. 
> https://github.com/Logitech/slimserver/blob/public/8.0/Slim/Player/Squeezebox.pm#L617
> 
> It seems to have been required for older Squeezeboxes and Transporter:
> https://github.com/Logitech/slimserver/commit/fbd203462fbe086dc3c905972a3dd756a8f60496
> 
> I wonder if it is still required for a vanilla Touch ?
> 
> 
> 
> I don't know precisely what headroom is required. Each of the following
> two changes worked for portaudio:
> 
> a) Simply doubling the size of the buffer (on the premise that if it
> worked for 176/192, double would work for 353/384).
> b) Implementing Triode's 1 second "arbitrary" override on higher bit
> rate rate streams.
> 
> I haven't checked playback of 353/384 streams on an Alsa Squeezeplay (I
> don't have one available right now), my guess is it would work as is,
> because (b).
> 
> I don't know what motivated Triode's change. Experience with EDO ? Why
> didn't LMS reduce the output threshold for SqueezePlay ?
> 
> I can let you have a PR to adopt the Triode approach in portaudio. In
> the meantime, though, I'm investigating to see if a more "scientific"
> approach can be found. I.E. what minimum output buffer headroom is
> needed to guarantee that playback won't stall in this circumstance.

Thanks.  Let's see what your investigations turn up before making any
changes.

I only have test files for those crazy high sample rates, and the last
time I tried an alsa squeezeplay at 384 it played okay.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

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

Reply via email to