• 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: AUTimePitch -- edge artifacts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUTimePitch -- edge artifacts


  • Subject: Re: AUTimePitch -- edge artifacts
  • From: Brian Whitman <email@hidden>
  • Date: Tue, 29 Nov 2005 17:27:25 -0500


On Nov 29, 2005, at 4:08 PM, Chris Rogers wrote:

No, it doesn't skip 4000 samples, since you gave it 12000 the time before, you absolutely have to continue from where you left off.  The idea is very simple; the callback asks you for a specific

amount which you must provide.  Then, the next time it calls you, you need to give it samples at the point *exactly* where you left off the last time.



OK, this is probably my problem. I ask the AU for 8192 samples by calling Initialize with a 2nd parameter of 8192, it then reads 12000 from my source *but only returns 8192*, always. The total of the numFrames returned by the Render calls is always 8192-- the amount it returns is always what I ask for, not what it reads. The next time I call Render I understand it wants to start reading from sample position 12000. Where are the rendered samples that represent source sample positions 8192-12000? How do I get them? The AU didn't return them the first time, even though it read up to 12000 in my source buffer. The only way I saw to get them was to "roll back" my processIndex to have the AU start at 8192 the next time instead of 12000. I understand I can't do this-- but I still don't know where to find samples 8192-12000.


 _______________________________________________
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: AUTimePitch -- edge artifacts
      • From: Chris Rogers <email@hidden>
References: 
 >AUTimePitch -- edge artifacts (From: Brian Whitman <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Chris Rogers <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Brian Whitman <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Brian Whitman <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Chris Rogers <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Brian Whitman <email@hidden>)
 >Re: AUTimePitch -- edge artifacts (From: Chris Rogers <email@hidden>)

  • Prev by Date: Re: AUTimePitch -- edge artifacts
  • Next by Date: Re: AUTimePitch -- edge artifacts
  • Previous by thread: Re: AUTimePitch -- edge artifacts
  • Next by thread: Re: AUTimePitch -- edge artifacts
  • Index(es):
    • Date
    • Thread