mrw wrote: > Interestingly (or not) I find that the issue described in this thread > appears to be applicable to SqueezePlay as well. The 352,800 Hz sample > rate stream does for it. It'll play "from scratch", but if the stream is > paused it will not resume. Nor will it seek, or resume after a failed > seek attempt. It will cope with 176,400 Hz, and 192,000 Hz. > > Informed by your finding, I rebuilt SqueezePlay after increasing the > size of the decoded audio buffer (-DECODE_AUDIO_BUFFER_SIZE- in > -src/audio/decode/decode_priv.h-). Normal service appears to have been > resumed. > > At present, the buffer is set at 10 seconds of decoded audio, at 44,100 > Hz. That would be reduced to 1.125 seconds at 352,800 Hz. I don't know > what the underlying constraint is, but it seems 1.125 seconds just isn't > enough. I don't know what the optimum choice would be, perhaps there may > be something else in SqueezePlay that is waiting on a minimum amount of > available audio. > > There's no command line switch or environment variable available that > can increase the buffer size. Perhaps something for @ralphy to consider > in the fullness of time. > > This experimentation has been done on macOS, which uses PortAudio, not > Alsa, and without any resampling. No attached DAC.
What value worked for DECODE_AUDIO_BUFFER_SIZE on MacOS? For ALSA, I suspect what 'Triode did to handle 192Khz in EDO' (https://github.com/ralph-irving/triode-squeezeplay/commit/52371b1b67a50ba81050c91091834d48846aa7a3) just needs to be updated to support 384Khz rates. The squeezeplay portaudio driver uses the smae value of DECODE_AUDIO_BUFFER_SIZE but doesn't include a similiar handler for high samplerates like the ALSA driver. 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¤cy_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
