• 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
Offline audio rendering delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Offline audio rendering delay


  • Subject: Offline audio rendering delay
  • From: Bruce Meagher <email@hidden>
  • Date: Mon, 9 Mar 2009 16:13:55 -0700

Hi,

I'm noticing that when I offline render an acc file to lpcm the samples in the output file are shifted by ~4.5 ms. I get 4.5ms of zeros then my waveform. Is this expected? I get the same results on the simulator and iphone. I'm also noticing apple's offline rendering sample code doesn't pull all the rendered data out of the queue (mFlushed flag stops the loop, but doesn't ensure all the data has been offline rendered).

I could be doing something wrong, but I thought I'd ask if anyone else has noticed this behavior.

My usage model might be wacko where I have many sound fx in one file and by knowing the time offset I can play them. The offline rendering delay causes the offsets to be slightly off which in turn causes clicks in the audio. I can compensate for the delay if it's fixed. However, I haven't seen this delay mentioned anywhere so I'm not sure if my use model is valid for the offline rendered data.

Any advice?

Thanks,

Bruce
_______________________________________________
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: Offline audio rendering delay
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: CPU Usage difference
  • Next by Date: Re: Send midi to host application
  • Previous by thread: Re: iPhone audio hardware changing during my app's run
  • Next by thread: Re: Offline audio rendering delay
  • Index(es):
    • Date
    • Thread