Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Units: a few questions



Hello all!

I have a few questions on Audio Units, I'd appreciate any help.

1. How is it possible to pass variables from one Process() run to another? I mean there are things needed to remember like oscillator phases and such, but where do I define these variables? Will simple global-scope variables work?

2. Is there an "Integer" parameter type? What I want is a slider which would step from, say, 1 to 10 in single steps (1, 2, 3).

3. Where should the plugin "instantiation" code be placed? What is the best way to initialize some data which would be accessible in Process()?


Thanks very much!


Sincerely,

Artemiy Pavlov
Sineshine http://sineshine.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.