Hi all,
I am having a strange problem with one of Apple's AudioUnits
template projects. I managed to compile the Cocoa AU template and it
works just fine, with one exception - automation in Logic 8 / 10.5.1
doesn't work in write, latch or touch mode. I can draw automation
curves just fine and they control the plug in as expected (and in
AULab I can get it to react to parameter changes from a second
instance and/or the generic view), but recording automation data
just doesn't work when the Cocoa user interface is used to set the
parameters in Logic.
The code looks ok to me, the slider correctly calls AUParameterSet
when I move it, however, the automation data seem to get lost
somewhere. I had a look at the FilterDemo example which works fine
in this regard but couldn't see anything that would make a difference.
Any hints, pointers or pitfalls that I should be aware of?
The code for the test project is here:
http://stephan.bernsee.com/TestAutomation.zip
It's the single slider gain demo project without any change. Any
insight would be appreciated.
Thanks
Stephan Bernsee