Re: AMS crash when calling setStreamAvailable
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