• 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
Disconnected AU causes crashes on AUGraphRun
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disconnected AU causes crashes on AUGraphRun


  • Subject: Disconnected AU causes crashes on AUGraphRun
  • From: Mark Coniglio <email@hidden>
  • Date: Tue, 4 Apr 2006 13:09:38 -0400

This is a more focused repost of my earlier question.

In an AU Graph, leaving one audio unit disconnected (i.e., with no Generator) causes a crash after calling AUGraphRun. One would think that, leaving an AU without a source would cause it to produce no output, and wouldn't be a problem. But instead it seems to crash as soon as you start the graph.

If anyone has insights on allowing these dangling AUs to exist, I'd be really glad to hear them. It's important in my app, because I'm creating a kind of "front end" for the AUGraph, and the user might forget to connect some input to an AU, temporarily have the AU input disconnected as they try things out, etc.

If its impossible to have this, I'm going to have to go through the connetions and track down any AU's that don't have input connections and not include them in the graph.

You can try my sample code to cause the crash at http://www.troikatronix.com/files/show-augraph-crash.sitx

Steps To Reproduce:

0) Create an AUGraph
1) Create Default Output Unit
2) Create Stereo Mixer Unit with Two inputs
3) Create two Low Pass Filter Units
4) Create on Sound File Player Unit and set output format to match that of source file
5) Connect Stereo Mixer output to Default Output unit input
6) Connect both Low Pass Filter outputs to Stereo Mixer inputs 1 and 2
7) Connect Sound File Player to Low Pass Filter #1
8) Do not connect anything to Low Pass Filter #2
9) Start the graph running using AUGraphRun
10) Crash


Best Wishes,
Mark
--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater          | http://www.troikaranch.org
=====================================================================
_______________________________________________
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: Disconnected AU causes crashes on AUGraphRun
      • From: William Stewart <email@hidden>
    • Re: Disconnected AU causes crashes on AUGraphRun
      • From: William Stewart <email@hidden>
References: 
 >Crashing in AUGraph (From: Mark Coniglio <email@hidden>)
 >Re: Crashing in AUGraph (From: William Stewart <email@hidden>)
 >Re: Crashing in AUGraph (From: Mark Coniglio <email@hidden>)

  • Prev by Date: Re: Noise or artefact when ramping gain to 0.0 on stereo mixer
  • Next by Date: Re: Disconnected AU causes crashes on AUGraphRun
  • Previous by thread: Re: Crashing in AUGraph
  • Next by thread: Re: Disconnected AU causes crashes on AUGraphRun
  • Index(es):
    • Date
    • Thread