Re: AU Parameter confusion on PPC
Re: AU Parameter confusion on PPC
- Subject: Re: AU Parameter confusion on PPC
- From: Chris <email@hidden>
- Date: Wed, 05 Sep 2007 19:03:21 +0200
Hi, I had a similar problems on PPC:
May you try in debug mode without any compilation optimization. Is it working? (debug was working
for me)
I was having offset when recovering parameters, and most values was transformed to anything not good.
-------- see my post on 23 august: AU Parameter confusion on PPC --------------
Hello,
I can't save the state of my AU, because AUElement::SaveState is not working properly.
I think the issue is a compilation option problem linked to data alignment.
In debug mode, it's working fine.
In non debug mode, data are not converted properly (mostly result is zero).
To find out, I added a few lines of code.
I found the *(UInt32*)&v conversion is not working depending on its alignment.
(see the two examples below, performing two conversion. Always, the first conversion is failing.
I inverted the conversions between the two trials. Each conversion is working when it is in second
position).
---------------------------------------------------------------------------------
Regards
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden