• 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: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout


  • Subject: Re: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout
  • From: William Stewart <email@hidden>
  • Date: Fri, 30 May 2008 13:59:12 -0700

what app?

The app should be ensuring that you have a scope element on that scope before it calls you. That said however, AUBase should be resilient to this error and will rightly throw an exception for InvalidElement (or InvalidScope) in this case. This is correct, so I'm not entirely sure what your problem is.

Bill

On May 30, 2008, at 12:01 PM, Patrick Stinson wrote:

queried by the app. the dispatch entry point is only called by the host app.

On Wed, May 28, 2008 at 10:53 AM, William Stewart <email@hidden> wrote:
Queried by what code?

On May 27, 2008, at 12:37 PM, Patrick Stinson wrote:

After playing with the xcconfig for my audio unit, I've broken my
debug build, which now doesn't show my custom view. The release build
works fine, but I've spent far too much time comparing the configs and
haven't found anything. There is an exception
thrown in GetAudioChannelLayout for scope 1 (input), which has no
elements since it's an instrument. The exception is caught by
ComponentEntryPoint<Class>::Dispatch(params, obj). Why is it that the
input elements are queried when there are none, which AUBase throws an
exception for? The queries work fine for the output scope, which has
18 elements.


thanks
_______________________________________________
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



_______________________________________________ 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
References: 
 >exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout (From: "Patrick Stinson" <email@hidden>)
 >Re: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout (From: William Stewart <email@hidden>)
 >Re: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout (From: "Patrick Stinson" <email@hidden>)

  • Prev by Date: Re: AudioUnit implementation restrictions
  • Next by Date: AU Lab + Guard Malloc = Crash
  • Previous by thread: Re: exception thrown in AUBase::DispatchGetPropertyInfo for AudioChannelLayout
  • Next by thread: MIDI Transpose?
  • Index(es):
    • Date
    • Thread