ralphy wrote: 
> I've never had issues with Squeezelite sample rate changes using ASIO,
> WASAPI or WDM-KS.  The problem with squeezeplay is that when the sample
> rate changes for any of those three audio apis, the audio device is
> deleted and recreated.  When this happens the squeezeplay audio thread
> can no longer find the device and hangs.  It's a bit more complicated
> than that, but you get the idea.  The original Logitech squeezeplay beta
> builds only had MME support for windows, so this issue never surfaced.

I wonder what my issue is then.  When I run squeezelite with the output
set to my DAC using WASAPI it only autodetects whatever sample rate Ive
set in Advanced properties of playback devices, as I showed in my log. 
And that plays fine until the first rate switch.  I wonder from the
build flags there is something with EVENT, does portaudio use exclusive
mode or event mode for WASAPI?  I have exclusive mode checked in the
properties.  

If using ASIO it autodetects everything the ASIO4ALL driver exposes,
including rates my gear doesn't support, and Kernel Streaming gets it
right (curiously nothing below 44100, I wonder if inet radio streams at
22k will play correctly?).  This is just whats autodetected.  I can
force it with -r, but then I get an invalid device when it does switch. 
I wonder if I have to put a bit of a delay when switching so it cleans
up correctly?

-r 44100,48000,88200,96000;<delay>.  I am not sure if I actually use a
semi-colon to signify the delay in the commandline, thats how its shown
in the -?.  I don't know what an appropriate delay might be for the ODAC
or MDAC.  

That said I am using 1.6.5, I will try your compiled version of
1.6.4.435 from your site as well. WASPAI does work if I use -R but then
it resamples everything to to the one sample rate.


------------------------------------------------------------------------
BuddyRich's Profile: http://forums.slimdevices.com/member.php?userid=63124
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to