DragonFly BSD
DragonFly bugs List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pulseaudio build

From: Sascha Wildner <saw@xxxxxxxxx>
Date: Tue, 15 Jun 2010 11:44:53 +0200

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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]