Offline audio rendering delay
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