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

when to set kAudioUnitProperty_MaximumFramesPerSlice


  • Subject: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • From: Marc Poirier <email@hidden>
  • Date: Mon, 17 Feb 2003 19:11:19 +0100 (CET)

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.

  • Prev by Date: Re: Start of Distributed MIDI Standard - transmission over Ethernet and IEEE 802.11 (fwd)
  • Next by Date: Re: Getting raw audio data from an AIFF file
  • Previous by thread: Re: Start of Distributed MIDI Standard - transmission over Ethernet and IEEE 802.11 (fwd)
  • Next by thread: Re: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • Index(es):
    • Date
    • Thread