• 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: AMS crash when calling setStreamAvailable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AMS crash when calling setStreamAvailable


  • Subject: Re: AMS crash when calling setStreamAvailable
  • From: Brett George <email@hidden>
  • Date: Mon, 21 Jan 2008 16:59:36 -0800

Thanks, I've found the source of my error. I was thrown by the way AMS was behaving.

Is AMS open source?

Brett.


Jeff Moore wrote:
That code seems kosher, but when I decode the symbols in the crashed thread you posted, the crash appears to be happening in response to somebody hitting one of the test buttons in the surround sound editor. Specifically, it appears to be throwing an exception that isn't being caught before exiting an ObjC entry point. The exception is being thrown because AudioDeviceStart is returning some error.

It's possible that this error is due to your driver doing something that makes it fail to start. But this code I was looking at in AMS is going to always crash like this when AudioDeviceStart returns an error. I wrote up a bug about it, for AMS to fix this in general, but you might want to take a look at why AudioDeviceStart might be returning an error in this case.


On Jan 21, 2008, at 3:07 PM, Brett George wrote:

Is there anything special I have to do to use IOAudioStream::setStreamAvailable?

I have tried surrounding it with the following:

/////
pauseAudioEngine();
beginConfigurationChange();

setStreamAvailable(fEnable);

completeConfigurationChange();
resumeAudioEngine();
/////



_______________________________________________
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: AMS crash when calling setStreamAvailable
      • From: Jeff Moore <email@hidden>
References: 
 >AMS crash when calling setStreamAvailable (From: Brett George <email@hidden>)
 >Re: AMS crash when calling setStreamAvailable (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: AMS crash when calling setStreamAvailable
  • Next by Date: Re: AMS crash when calling setStreamAvailable
  • Previous by thread: Re: AMS crash when calling setStreamAvailable
  • Next by thread: Re: AMS crash when calling setStreamAvailable
  • Index(es):
    • Date
    • Thread