Fwd: AUHostTransportStateBlock currentSampleTime
Fwd: AUHostTransportStateBlock currentSampleTime
- Subject: Fwd: AUHostTransportStateBlock currentSampleTime
- From: Jonatan Liljedahl via Coreaudio-api <email@hidden>
- Date: Fri, 24 Dec 2021 15:43:07 +0100
Hi,
I'm having a discussion about the meaning and interpretation of
currentSampleTime sent to an AU extension via the
AUHostTransportStateBlock.
1) Is it supposed to be the number of rendered frames since the
beginning of the host timeline, independent of tempo changes etc, and
thus be without gaps or overlaps?
2) Or is it supposed to be a direct translation from the beat time
using the current tempo, so that if bpm is doubled after some time
into the timeline, then currentSampleTime will drop to half its
previous value?
My interpretation is the first alternative, but it seems other
developers think it should be the second. Would be great to know what
the original intention was, since the documentation is not very clear
about it.
Best regards
/Jonatan (AUM, AudioShare, Sector, AU3FX, etc)
http://kymatica.com
_______________________________________________
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