Re: Error -10108
Re: Error -10108
- Subject: Re: Error -10108
- From: Glenn Olander <email@hidden>
- Date: Tue, 18 Mar 2003 09:04:04 -0800
Thanks, I've been through my code with a fine toothed comb and can't
find any such cases. It's also hard to imagine how only one user
would have a problem with an AU, since the environment for an AU
is pretty clearly defined. For example, if Logic was trying to
get an unexpected property, I don't think only one user would
experience this when trying to instantiate the plugin :-).
We're just guessing at this point about how/why Logic generates this
message, so it'd be nice if Niko can confirm these guesses before I
pursue it any further. Thanks.
- Glenn
Marc Poirier wrote:>>You're saying this is a problem with Logic? I'm
certainly not
generating that error message :-).
I think that Bill is saying that you are in fact probably generating this
message and that Logic is simply passing it along to the user in the form
of an alert message. Basically the way how Logic works is that if your AU
returns an error from any of its property setting or getting or callbacks,
Logic puts up an alert with the error code that the AU returned (and
usually the alert says that the audio device returned the error, which is
sort of confusing, but that's how it's done in Logic).
It could be code in AUBase or one of the other SDK classes that is
returning the error, or it could be your code. And even though you might
know that you don't have anything like this in your own code:
return -10108;
you might have something like this:
err = NewPtr(blah blah blah);
if (err != noErr)
return err;
and that sort of thing might be where the error is coming from.
It could of course also be Logic that's doing this. But anyway, I'm just
trying to put up other possibilities (ones that you can conveniently look
into yourself) and also clarify what I think Bill was suggesting.
Niko, can you shed any light on this? The user reports that it is
reproducible (I had him download and unstuff Crystal again).
- Glenn
Bill Stewart wrote:
I think this message is just the standard error that Logic provides for
problems and has nothing to do with memory as such....
I would guess that the -10108 is an error message generated by the AU
itself...
>> "Core audio: Not enough memory to open plug in (-10108)."
_______________________________________________
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.