• 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: Marc Poirier <email@hidden>
  • Date: Tue, 18 Feb 2003 16:23:21 +0100 (CET)

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

Okay, thanks for the clarification. I was thinking, since this is also
what you have said regarding changes to StreamFormat, perhaps
AUBase::DispatchSetProperty should do something in the cases for
kAudioUnitProperty_StreamFormat
and kAudioUnitProperty_MaximumFramesPerSlice like:

if ( IsInitialized() )
return kAudioUnitErr_CannotDoInCurrentContext;

(Theres's a kAudioUnitErr_Uninitialized but no kAudioUnitErr_Initialized,
so I guess that would be the most appropriate error.)

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

Ignore the error (so far as I can tell).

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

The author is on this list, and it will be taken care of now. :)

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.

References: 
 >Re: when to set kAudioUnitProperty_MaximumFramesPerSlice (From: Bill Stewart <email@hidden>)

  • Prev by Date: AudioFile API + AudioConverter issues
  • Next by Date: AudioFile API + AudioConverter issues (2)
  • Previous by thread: Re: when to set kAudioUnitProperty_MaximumFramesPerSlice
  • Next by thread: Re: Start of Distributed MIDI Standard [...]
  • Index(es):
    • Date
    • Thread