kAudioUnitProperty_PresentationLatency usage
kAudioUnitProperty_PresentationLatency usage
- Subject: kAudioUnitProperty_PresentationLatency usage
- From: Marc Poirier <email@hidden>
- Date: Mon, 17 Oct 2005 16:31:09 -0400
I'm a little unsure of how to use the
kAudioUnitProperty_PresentationLatency property. In my scenario, I
have an AU that provides a visual meters for the input level and the
output level. What I've been doing is to adjust the display of the
input level by the value for PresentationLatency on the input scope,
and adjust the display of the output level by the value for
PresentationLatency on the output scope. But then I started doubting
that this makes sense. My AU itself has no latency in its DSP, so
why would I ever want a different PresentationLatency latency value
for input vs. output? In cases where my AU might be getting
different values, then what that would do would be to make the level
meters out of sync with each other. So far as my AU is concerned,
the input is occurring at the same time that its corresponding output
is being generated. So then I wonder, do I just want to offset both
displays by PresentationLatency on the output scope? Or do I want to
offset both displays by the sum of the PresentationLatency on both
input and output scopes? Or something else? I am very unsure...
thanks,
Marc
_______________________________________________
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