[Lazarus] Mac/PPC: AUGraphInitialize

EarMaster - Bent Olsen bent at earmaster.com
Wed Jan 7 10:24:54 CET 2009


Hi,

I might have found the cause - I moved the call to AUGraphInitialize so it
gets called before any calls to connect nodes, getting node info, and
setting volume. Why this gets AUGraphInitialize to hang on few PowerPC's,
and works on most PowerPC's and all i386's, I dunno.

Best regards,
Normann

> -----Original Message-----
> From: EarMaster - Bent Olsen [mailto:bent at earmaster.com]
> Sent: 6. januar 2009 19:19
> To: 'General mailing list'
> Subject: Mac/PPC: AUGraphInitialize
> 
> Hi all, and a Happy New Year! :-)
> 
> We have struggled with a problem on few Mac's with PowerPC's the last
> couple of weeks, because we were unable to reproduce the problem on any
> available Mac's with PowerPC. The program simply just bounced in the
> dock and exited with no errors, crash reports, messages, no nothing.
> 
> After sending out test versions with debugging information in log
> files, we were able to locate the exact point. The program simply stops
> running on a call to AudioToolbox API named AUGraphInitialize.
> 
> The initial calls all returned "no error" status, and AUGraphInitialize
> works on most PPC (only 3 reports having this problem) and works on all
> i386, with nice and sweet sound.
> 
> We have build the code so it checks for status after each API call, and
> the initialization should stop if status is anything but OK.
> 
> Has anybody else experienced similar problems with AudioToolbox on
> PowerPC's? Like different framework versions, etc.?
> 
> Btw., except from this problem, we successfully released the Mac
> PPC/i386 version of the ear training software, EarMaster Pro/School 5 -
> ported from Delphi/Win32 and compiled with Lazarus 0.9.27 with FPC
> 2.2.2, revision 17246 on both PPC and i386 :-)
> 
> Best regards,
> Normann




More information about the Lazarus mailing list