[pulseaudio-discuss] [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends on windows.

Thomas Martitz kugel at rockbox.org
Tue Oct 23 02:42:53 PDT 2012

Am 23.10.2012 08:40, schrieb Arun Raghavan:
> On Mon, 2012-08-20 at 23:50 +0200, Thomas Martitz wrote:
>> Currently, Windows versions of pacat and friends fail because the current
>> poll emulation is not sufficient (it only works for socket fds).
>> Luckily Gnulib has a much better emulation that seems to work perfect
>> all over. The implementation has been largely copied (except a bug fix
>> regarding timeout handling, to be pushed upstream) and works on pipes
>> and files as well.
>> This fixes the "Assertion (!e->dead) failed" error coming and lets pacat
>> and friends stream happily to/from a server (I didn't actually test parec).
>> ---
> The changes look okay to me, but the gnulib code is GPL -- any chance
> that the author would agree to a dual-license for this?

Actually, I took the copy from git[1], which has it under GPLv2 or later.

[1] https://github.com/git/git/blob/master/compat/poll/poll.c

Best regards.

More information about the pulseaudio-discuss mailing list