Re: Getting the play position of a sample
Re: Getting the play position of a sample
- Subject: Re: Getting the play position of a sample
- From: Jeff Moore <email@hidden>
- Date: Tue, 17 Jul 2001 13:08:01 -0700
on 7/17/01 12:40 PM, Mark Thomas <email@hidden> wrote:
>
Sorry if this is not on the right mail-list, but I was wondering, if
>
there is way using the sound Manager, to work out how far into a sample the
>
sound manager has played ???.
The only way to know is to guestimate based on the values the Sound Clock
component is producing and the time at which you scheduled to the sound to
start playing (assuming you're using scheduledSoundCmd to play your data).
>
I will be
>
moving to Core Audio in the next couple of months, so are there any pointers
>
there would be helpfully as well.
In the Core Audio world, everything is time stamped so there is a lot less
guess work as to what is going on in the various parts of the system.
--
Jeff Moore
Core Audio
Apple