Triode wrote:
> Thanks Ralphy.
>
> As I am only targeting Linux, OSX and Windows I think its fair to test
> for EWOULDBLOCK on linux/osx and WSAEWOULDBLOCK on windows - this seems
> to reflect the documentation for recv/send given that
> EAGAIN==EWOULDBLOCK on both linux and osx. Any views?
I think this assumption is valid. I've checked Solaris and AIX and they
both define EWOULDBLOCK equal to EAGAIN.
The AIX definition indicates the older BSD versions may only define
EWOULDBLOCK but all these OSs are outside of your supported OS scope.
Triode wrote:
> Latest git should do this - please confirm if it works for you on all
> OSs...
The EWOULDBLOCK git change works fine on Linux, Windows, OSX and
Solaris.
However the latest git which includes the power off feature for
portaudio is not working for me on OSX.
If I power off the player in paused or stopped mode the last line in the
all=debug log is
Code:
--------------------
[08:12:50.357594] process_aude:360 enable spdif: 0 dac: 0
[08:12:50.432284] pa_callback:1272 output off
[08:12:50.510780] pa_stream_finished:458 stream finished
[08:12:50.612314] _pa_open:540 opening device in Pro mode
--------------------
the player is hung at this point and I can't play anything else until I
kill squeezelite and restart it.
The same test with the windows build works fine.
Ralphy
*1*-Touch, *4*-Classics, *2*-Booms, *2*-Squeezeslaves, *3*-Squeezeplays,
*3*-Squeezelites
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave¤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=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix