[Freeswitch-users] PortAudio needs work on Mac OS X 10.6

Bruce Fletcher bruce at nani.ca
Mon Nov 9 00:07:14 PST 2009


The patch from the PortAudio site does get the library to build, but  
it still fails with the same assertion when I try to play MOH.  The  
patch I'm talking about is this one:

   http://www.portaudio.com/trac/changeset/1418

If the same build problem applies to other 64 bit systems, it might be  
a good idea to incorporate this patch.  It looks clean and reasonable  
to me, at least.

I've managed to work around the problem entirely by building  
FreeSWITCH for i386, but I'll go ask the PortAudio folks what the  
status is of their 64 bit support.  They are clearly assuming 32 bit  
long integers in some places, which is hopefully on a to-fix list  
somewhere.

Thanks,
- Bruce


On 2009-11-08, at 12:25 PM, Michael Jerris wrote:

> If you can figure out a clean way for us to do this with proper ifdefs
> in tree in a way that will not break others that would be the most
> preferred.
>
> Mike
>
> On Nov 8, 2009, at 1:03 PM, Bruce Fletcher wrote:
>
>> OK, I'll ignore that MacPorts patch for now and try to find a better
>> approach.
>>
>> I'll look into this further tonight, but this morning I found a more
>> recent promising patch on the PortAudio site:
>>
>>  http://www.portaudio.com/trac/changeset/1418
>>
>> It seems to push some data types to 32 bit regardless of platform,
>> which might work better than the MacPorts approach of migrating some
>> data structures to 64 bit.  At any rate, this patch being on the
>> PortAudio site suggests it might be a more approved fix.
>>
>> I'll keep plugging at this in my free time and report any significant
>> progress back to the list.
>>
>> Thanks,
>> - Bruce
>>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list