[fpc-pascal] Re: Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

Jerry lanceboyle at qwest.net
Mon Mar 8 22:25:38 CET 2010


On Mar 8, 2010, at 5:40 AM, Schindler Karl-Michael wrote:

> Am 08.03.2010 um 10:04 schrieb Jonas Maebe:
>
>>
>>> gdb backtrace shows that it is deep down in Apple libs (probably  
>>> the reason, why it does not happen in linux).
>>
>> Have you tried disabling all FPU exceptions? Many Apple frameworks  
>> indeed perform invalid FPU operations. See e.g. http://community.freepascal.org:10000/bboards/message?message_id=276227&forum_id=24094 
>>  for more details.
>>
>> Jonas
>
> Jonas, you are my hero. This was exactly the problem. After adding "  
> SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,  
> exOverflow, exUnderflow, exPrecision]); " everything works. I am  
> trying now some more details. Thanks a lot.

This thread implies that there are Pascal headers for portaudio but  
the link
http://www.microbizz.nl/portaudio-20070809.tar.gz
is dead. Is there another place to download these headers?
Jerry
>
> Karl-Michael Schindler
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>




More information about the fpc-pascal mailing list