Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-03

Re: Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Schindler Karl-Michael
Jonas Maebe wrote 6 lines
> 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.

Karl-Michael Schindler

Jerry
to Schindler Karl-Michael
Schindler Karl-Michael wrote 16 lines
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

Show quoted text 6 lines
Karl-Michael Schindler _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal