• 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
Re: Monitoring input level
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring input level


  • Subject: Re: Monitoring input level
  • From: Karim Morsy <email@hidden>
  • Date: Tue, 20 Jun 2006 03:12:33 +0200

You don't have to do this here either - you can connect nodes at any time.

ah, right. that's totally fine then. I didn't see that you were calling augraphupdate() in your connectAUs method.


Karim


On Jun 20, 2006, at 3:01 AM, William Stewart wrote:


On 19/06/2006, at 5:38 PM, Kariem Morsy wrote:

the docs say that you can
only have  one output unit in a graph.

yea, and you are only using one device (both for input and output). In your code, some steps in
setting up the graph are in the wrong order (in your monitor.. method).
you should add the set of nodes to the graph and make the appropraite connections, before
opening the graph. so the order should be:
No, you don't have to do that. You can create a graph, open it, add nodes and the right thing will happen. You can add nodes to a graph at any time (including even a running graph).

-NewAUGraph()
-insert the nodes with their appropriate component descriptions
-connect the nodes
You don't have to do this here either - you can connect nodes at any time.

If you want to see this in action, have a look at the AU Lab application and in the Debug menu print the session out.

Bill

-AUGraphOpen()
-obtain the references to the AU's that have just been instantiated by calling augraphopen()
-enable metering
-enable I/O on the input scope / element 1 of your device
-AUGraphInitialize()
-AUGraphStart


I've just tested this with the built-in audio and it works fine.

Karim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________ ____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________ ____



_______________________________________________ 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
References: 
 >Re: Monitoring input level (From: Kariem Morsy <email@hidden>)
 >Re: Monitoring input level (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Monitoring input level
  • Next by Date: Re: How to combine Built-In audio devices?
  • Previous by thread: Re: Monitoring input level
  • Next by thread: Re: Monitoring input level
  • Index(es):
    • Date
    • Thread