• 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: AU, what samplerate and buffersize?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU, what samplerate and buffersize?


  • Subject: Re: AU, what samplerate and buffersize?
  • From: Urs Heckmann <email@hidden>
  • Date: Tue, 3 Jan 2006 22:15:15 +0100


Am 03.01.2006 um 21:25 schrieb William Stewart:

kAudioUnitProperty_MaxFramesPerSlice
- this tells you the *maximum* num of frames that an AU can be asked to produce at a given time. It can't be changed without reinitializing the AU. A host is able to call an AU for any number of frames to render up to that number.

Uhm... is thread safety guaranteed then?

I mean, if I need to malloc enough memory to hold temporary results i.e. to feed multiple output busses upon their separate render calls (first call renders data for all busses, next calls fills these busses, you remember that issue...), I'd probably trash an old buffer and malloc a new buffer if that property changes. I wouldn't wanna do that during a render call or if a render call could interrupt the malloc...

Why isn't this bound to happen in unitialized state? It would sound more logical to me if it was.

Cheers,

;)  Urs

urs heckmann
email@hidden
www.u-he.com

_______________________________________________
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: AU, what samplerate and buffersize?
      • From: William Stewart <email@hidden>
References: 
 >Re: AudioConverterConvertBuffer (From: Doug Wyatt <email@hidden>)
 >AU, what samplerate and buffersize? (From: email@hidden)
 >Re: AU, what samplerate and buffersize? (From: William Stewart <email@hidden>)

  • Prev by Date: Re: [CoreAudio] General Question about Conversion
  • Next by Date: Converting from Float to Linear PCM
  • Previous by thread: Re: AU, what samplerate and buffersize?
  • Next by thread: Re: AU, what samplerate and buffersize?
  • Index(es):
    • Date
    • Thread