• 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
SynthTest!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SynthTest!


  • Subject: SynthTest!
  • From: Craig Bakalian <email@hidden>
  • Date: Mon, 21 Oct 2002 09:06:02 -0400

Hi Mr. Reed,
Hey, bravo! I downloaded the SynthTest source. Excellent job. I
love the AUMIDIControllerMapChannelToAu. Thanks for showing us this.
It has a crash in the run time. When I selected edit effect, then
close the edit effect window, and then change the effect, and then
selected edit effect again, the app crashes. It throws the exception
"could not get root control of carbon window".

- (IBAction)editSynthClicked:(id)sender
{
if (synthEditor)
{
[effectEditor showWindow:nil]; // I think this may want to be
synthEditor? doh!, this window never opens.
}

AudioUnit theSynth;
AUGraphGetNodeInfo(graph, synthNode, NULL, NULL, NULL, &theSynth);
synthEditor = [[[AUEditController alloc] initWithAudioUnit:theSynth]
retain];
}

- (IBAction)editEffectClicked:(id)sender
{
if (effectEditor)
{
[effectEditor showWindow:nil];
}

AudioUnit theEffect;
AUGraphGetNodeInfo(graph, effectNode, NULL, NULL, NULL, &theEffect);
effectEditor = [[AUEditController editorForAudioUnit:theEffect]
retain];
}

But this still doesn't explain the crash. I think it has something to
do with the ControlRef rootControl; in your AUEditController.m

Craig Bakalian
_______________________________________________
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.

  • Prev by Date: Re: AU Hosting and Persistence Questions
  • Next by Date: Re: CLI audio file player?
  • Previous by thread: Re: AU Hosting and Persistence Questions
  • Next by thread: Doing equal power panning in the stereo mixer
  • Index(es):
    • Date
    • Thread