Re: ExtAudioFileWriteAsync- skip on write?
Re: ExtAudioFileWriteAsync- skip on write?
- Subject: Re: ExtAudioFileWriteAsync- skip on write?
- From: Jonathan <email@hidden>
- Date: Thu, 1 Jul 2010 14:33:18 -0700
- Hardware/OS: iPhone 3G (3.1.3)
- Yep, I'm calling ExtAudioFileWriteAsync outside the render callback.
- ExtAudioFileRef is passed via a struct to the render callback
As far as the memory warning goes, I'll have to check that out. I
wanted to reply right away, though, to verify something I think your
message implies. Are you calling ExtAudioFileWriteAsync from within
the render callback and it works fine? In other words, I should have
to create my own writer thread?
On Thu, Jul 1, 2010 at 2:27 PM, Art Gillespie <email@hidden> wrote:
> I'm not seeing this here.
>
> * What hardware/OS version are you experiencing this with?
> * Are you calling ExtAudioFileWriteAsync once *outside* the render
> callback with 0 frames and NULL buffers to prime the internal ring
> buffer?
> * How are you synchronizing access to the ExtAudioFileRef?
> * Do you get a memory warning at any point during the writing?
>
> Best,
>
> Art
>
> On Thu, Jul 1, 2010 at 9:57 AM, Jonathan <email@hidden> wrote:
>> Hey guys,
>>
>> I'm still having an issue with ExtAudioFileWriteAsync causing skipping
>> periodically on an iPhone. Isn't ExtAudioFileWriteAsync supposed to
>> handle buffering, etc? I'm sure that the actual writes could cause
>> some blocking, so I did move the function out of the render notify
>> callback and into a writer thread, but the audio still skips every
>> minute or so (presumably when the data is actually write to disk).
>
_______________________________________________
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