Re: Change number of process frames
Re: Change number of process frames
- Subject: Re: Change number of process frames
- From: Marc Poirier <email@hidden>
- Date: Wed, 5 May 2004 11:57:44 -0400 (EDT)
Certainly you can call ProcessScheduledSlice() or whatever functions you
want, of your own concoction or not, from ProcessBufferLists(). I don't
see why you would need to create threads for that. Just make a function
that processes a capped number of frames and call giving it offsets into
the audio stream.
Marc
On Wed, 5 May 2004, Mark's Studio wrote:
>
OK
>
>
Is it then possible from within the ProcessBufferList() to fire up a
>
thread that runs ex. 2,4, or 8 times, and then call a custom
>
renderfunction with a slice of the buffer?
>
>
ProcessScheduledSlice() could that be used?
>
>
>
>
On 5/5-2004, at 16:57, Marc Poirier wrote:
>
>
> Not possible, it is the host who decides how many frames are processed.
>
>
>
> Marc
>
>
>
>
>
>
>
> On Wed, 5 May 2004, Mark's Studio wrote:
>
>
>
>> I use ProcessBufferLists() in my AU (AUEffectBase),
>
>> and i would like to control the number of frames to process,
>
>> how should i do it?
>
>> and is it possible to change it while the AU is running?
>
>
>
>
>
Peter Mark
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.