Re: AU latency compensation "look-ahead"
Re: AU latency compensation "look-ahead"
- Subject: Re: AU latency compensation "look-ahead"
- From: Urs Heckmann <email@hidden>
- Date: Tue, 4 Nov 2003 11:37:53 +0100
Hi Andrew,
this is simple: Yes, you can.
Just override AUBase::GetLatency(). - It returns a 64bit float with
Latency in seconds, not samples.
Oh... uhm... I think you also have to override AUBase:: SupportsTail ()
and return true here.
Cheers,
;) Urs
Am Dienstag, 04.11.03, um 09:03 Uhr (Europe/Berlin) schrieb Andrew
Garber:
Hi! I'm wondering if the AudioUnit spec allows plugins to "look
ahead", compensating for latency caused by DSP. My plugin needs to
read a short amount of audio prior to "knowing" how to act on it. The
problem is, if it were being used in a sequencer (like Logic), the
output would lag behind the rest of music. I've seen latency
compensation and "look-ahead" features on some of Emagic's processors
(such as the new Sound Designer reverb unit), but these aren't
AudioUnits.
Can I do this? And if so, how?
Thanks,
Andrew
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=dept/features&pgmarket=en-
ca&RU=http://join.msn.com/?page=misc/specialoffers&pgma
rket=en-ca
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.