UI notification / host Resets?
UI notification / host Resets?
- Subject: UI notification / host Resets?
- From: "Kevin Dixon" <email@hidden>
- Date: Mon, 25 Feb 2008 17:19:39 -0500 (EST)
- Importance: Normal
Hi all,
Two questions. First:
I'm making an AudioUnit that parses SMPTE LTC. I've got it parsing now,
and I'd like the last-parsed time code to be displayed by my AU as
parameters. I've got parameters for hours, minutes, seconds, and frames,
so upon successful parse, I do this:
mAudioUnit->SetParameter(kParam_Hours, hoursValue);
for each parameter from within the kernel's Process method.
However, neither my Cocoa ui or the generic UI seems to update until I
press stop in the host, and then manually refresh the UI (close/reopen)
Am I doing this wrong, it seems the Listeners aren't hearing anything?
Second:
Under what circumstances do host applications call Reset on the AU? It
seems with Logic that it calls reset during playback every 1024 samples or
so. This is just out of curiosity. These Reset calls have been causing me
trouble, since the SMPTE frames often get "cut in half" by a Reset call.
Should I keep my state variables like Parameters, and not change them
during a Reset?
Thanks in advance!
-Kevin Dixon
_______________________________________________
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