Re: AUGraph with built-in input failing to set device (OSX)
Re: AUGraph with built-in input failing to set device (OSX)
- Subject: Re: AUGraph with built-in input failing to set device (OSX)
- From: John Nastos <email@hidden>
- Date: Thu, 06 Dec 2012 17:57:10 -0800
Thanks for the pointer to Chris's book and the code downloads.
Actually, in the code you referenced (Chapter 8), he just uses an AUGraph for the output. The input side is just an audio unit, unconnected from the graph. He then feeds the audio from the input unit to the output unit (which is part of the graph) by grabbing samples from the ring buffer.
So, if he's doing it that way, rather than adding the input unit to the graph itself, it seems to further point towards the fact that the built-in input can't be used as part of an AUGraph. Seems odd, though, as I said in my original email, I can add other inputs (Soundflower, for example) to the graph.
The main reason I wanted to use the AUGraph stuff was the convenience methods, but perhaps I should just go without them on that side.
Is there a way that I can determine if an AudioUnit is currently running? Similar to `AUGraphIsRunning`? That's one of the convenience methods I was hoping to use.
- jn
_______________________________________________
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