pulseaudio build

Sascha Wildner saw at online.de
Tue Jun 15 02:44:53 PDT 2010


On 6/15/2010 11:32, Chris Turner wrote:
Chris Turner wrote:
you can ifdef out this portion within pulseaudio..
Broken patch attached - Couldn't quite figgure out the correct
preprocessor macros to make this 'clean' - my actual build
used '#ifdef notyet' like some other things in main.c
In any event, we now have a 'mlockall' on head -
so probably need to see if this is even necessary
moving forward before trying to get it upstream,
unless anyone wants to get fancy with their 'ifdef's
and make it version specific
Actually, the proper fix would be to make pulseaudio check with 
sysconf(3) for _SC_MEMLOCK, to see if the implementation supports it. In 
our case, it would then quickly see that we don't, as we return -1.

Regards,
Sascha




More information about the Bugs mailing list