Re: looping with start offset
Re: looping with start offset
- Subject: Re: looping with start offset
- From: Jack Nutting <email@hidden>
- Date: Wed, 23 May 2012 09:19:38 +0200
On Tue, May 22, 2012 at 9:43 AM, Jack Nutting <email@hidden> wrote:
> If it works, that will be great, but it's also quite counterintuitive,
> since it seems like setting the property value a second time should
> make the first one go away. But maybe in the case of
> kAudioUnitProperty_ScheduledFileRegion there's something else going
> on? I guess I'll just experiment a bit.
Happy to report that it works! Passing multiple regions to a
fileplayer via AudioUnitSetProperty works just fine, I now have it
playing the partial segment just once, then looping the entire track
after that. In this case it's clearly not a matter of "setting a
property" in an exclusive way (as I was thinking of it, roughly like a
dictionary), but rather just passing a region to the fileplayer that
it will do something more with—in this case, tacking it onto its
internal queue of regions that need to be played.
--
// Jack Nutting
// email@hidden
// http://nuthole.com
// http://learncocoa.org
_______________________________________________
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