Jeff,
I continue to run Tiger for performance and stability reasons, and I continue to develop for 10.4 for the same commercial reasons as you. I'm not sure what sample code you're looking at, but the AUGraph sample code that I based my recent development on uses NewAUGraph(), AUGraphOpen(), AUGraphNewNode(), AUGraphGetNodeInfo(), AUGraphConnectNodeInput(), AUGraphInitialize() and AUGraphStart() - and this works fine on Tiger. Perhaps you can look around for the 10.4 samples instead.
P.S. There are also C macros which would allow you to implement separate code for Tiger and Panther, at least in the setup code.
Brian Willoughby Sound Consulting
On Sep 15, 2008, at 16:27, Jeff Evans wrote: Hm, maybe that's a good idea, if I can modify the sample code to use AUGraphNewNode instead of AUGraphAddNode. Hate using these deprecated functions but I suppose if the choice is between that and not doing it at all it must be the right choice.
On Sep 15, 2008, at 4:20 PM, Peter Rebholz wrote: On Sep 15, 2008, at 6:10 PM, Jeff Evans wrote: Here's a reason to fear: I see that AUGraphAddNode is available only in 10.5. But for practical commercial reasons I must be compatible with 10.4 as well. So how can one do this (play DLS notes programmatically) on 10.4? I'd love to find sample code that illustrates that, since it appears to be a complex process of setup. On Sep 15, 2008, at 2:12 PM, Brian Willoughby wrote: Don't fear the AUGraph. I have found that AUGraph allows me to write *less* code. So one might rephrase your concern below by asking why it would be worth the trouble to write more code just to avoid AUGraph. Basically, AUGraph can save you from writing many callback function implementations, because AUGraph directly connects audio sinks with audio sources. I can understand why you might be reluctant to take the time to learn the AUGraph API, but I suggest that it is very worthwhile.
On Sep 15, 2008, at 12:53, Jeff Evans wrote: Thanks - That's the one using AUGraph... I don't understand the need to use AUGraph, but I guess I'll have to start studying on AuGraphs.
|