[fpc-pascal] Carbon: i386 vs PPC API's

EarMaster - Bent Olsen bent at earmaster.com
Mon Sep 29 09:27:28 CEST 2008

Hi all,

Is there any precautions one should make when sharing FPC codes between i386
and PowerPC?

I've few calls to AudioToolbox API's which works fine under i386, but
crashes in PPC - the exact API call is AudioConverterNew, and the records
passed to the API looks good, and is also returned by AudioToolbox itself.

It doesn't return an error code - just crashes with EXC_ARITHMETIC error in
a procedure called SincKernel::CalculateFilterCoefficients.

Any hints will be much appreciated.

Best regards,

More information about the fpc-pascal mailing list