• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: looping with start offset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: looping with start offset
      • From: Aran Mulholland <email@hidden>
References: 
 >looping with start offset (From: Jack Nutting <email@hidden>)
 >Re: looping with start offset (From: Aran Mulholland <email@hidden>)
 >Re: looping with start offset (From: Jack Nutting <email@hidden>)

  • Prev by Date: objc calls inside property listeners
  • Next by Date: Re: looping with start offset
  • Previous by thread: Re: looping with start offset
  • Next by thread: Re: looping with start offset
  • Index(es):
    • Date
    • Thread