• 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: Change number of process frames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change number of process frames


  • Subject: Re: Change number of process frames
  • From: "Mark's Studio" <email@hidden>
  • Date: Wed, 5 May 2004 18:31:06 +0200

I'm analyzing the buffer, and update the display at every callback,
so if i split the buffer in the callback i would have to have a delay
between processing the slices, would that not be a waste of cycles or
blocking?



On 5/5-2004, at 17:57, Marc Poirier wrote:

> 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
>
>
Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.


  • Follow-Ups:
    • Re: Change number of process frames [solved]
      • From: "Mark's Studio" <email@hidden>
References: 
 >Re: Change number of process frames (From: Marc Poirier <email@hidden>)

  • Prev by Date: RE: More link errors
  • Next by Date: Re: Multichannel and AU
  • Previous by thread: Re: Change number of process frames
  • Next by thread: Re: Change number of process frames [solved]
  • Index(es):
    • Date
    • Thread