• 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: when to set kAudioUnitProperty_MaximumFramesPerSlice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when to set kAudioUnitProperty_MaximumFramesPerSlice


  • Subject: Re: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 17 Feb 2003 19:02:15 -0800

I would expect that this is a property that should only be called before you initialize an Audio Unit...

If you return an error from this call as you have been initialized, what does the host do then?

We could also talk with the "host" company and see if this behaviour can be changed...

Bill

On Monday, February 17, 2003, at 10:11 AM, Marc Poirier wrote:

Hello. I have a question about the Audio Unit property
kAudioUnitProperty_MaximumFramesPerSlice. Is it considered okay for a
host to set this property at any time? I have an AU that relies on that
property to allocate some DSP buffers. I assumed that, between setting
that property and the start of audio processing, the host would do
kAudioUnitInitializeSelect or kAudioUnitResetSelect on my AU, which is
where my AU checks for changes and reacts accordingly. But today I tested
in a host that sets the kAudioUnitProperty_MaximumFramesPerSlice property
after Initialize and Reset.

Anyway, I have since installed a property listener on the
kAudioUnitProperty_MaximumFramesPerSlice property so my AU no longer
crashes in that host, but I am wondering if there are any rules about that
property. I just would like to know for sure whether AUs are allowed to
make any assumptions about when that property can be set, or whether AUs
interested in that property should expect it to change any time and should
install a property listener for it.

Thanks,
Marc
_______________________________________________
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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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: when to set kAudioUnitProperty_MaximumFramesPerSlice
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Edirol UA-1D and MTCoreAudio?
  • Next by Date: Re: Start of Distributed MIDI Standard [...]
  • Previous by thread: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • Next by thread: Re: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • Index(es):
    • Date
    • Thread