• 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
Custom properties and stopping a graph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom properties and stopping a graph


  • Subject: Custom properties and stopping a graph
  • From: ipmlists <email@hidden>
  • Date: Mon, 7 Dec 2009 12:13:57 +0000

Hi,

I've written an effect AU, which contains an AUGraph, which in turn
contains two effect AUs and an output AU. In its ProcessBufferLists
function, the wrapper AU calls AudioUnitRender on the head node of the
graph, and a renderProc is set on the first node of the graph, to pull
data from the wrapper AU's input buffer.

The first of the embedded AUs has some custom properties which are
user-configurable, and changing them requires processing to be halted.
I'm currently doing this by calling AUGraphStop, then
AUGraphDisconnectNodeInput on the second node, changing the
Properties, then repeating the above in reverse order.

This works - that is, it doesn't crash, and the interruption to the
audio stream is brief - but it seems a pretty crude approach, and I
strongly suspect it's not the right way to go about this - am I right?

thanks,

Iain
 _______________________________________________
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: Custom properties and stopping a graph
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Error AUEventListenerAddEventType
  • Next by Date: RE: Error AUEventListenerAddEventType
  • Previous by thread: RE: Error AUEventListenerAddEventType
  • Next by thread: Re: Custom properties and stopping a graph
  • Index(es):
    • Date
    • Thread