More data!
I changed the AUGraphNodeInfo line so that it would also try and get the AudioComponentDescription of the node, just for kicks. The modified code is as follows:
AudioComponentDescription testDescription; result = AUGraphNodeInfo(graph, mixerNode, &testDescription, &mixer);
Simple. The same error occurs sometimes. The error was also intermittent previously, so there is no actual improvement here. Now, I placed a breakpoint right after the line I just showed, and on the runs when the exception is hit, testDescription is as follows:
componentType = 44992093, componentSubType = 3221216376, componentManufacturer = 44992603, componentFlags = 78815960, componentFlagsMask = 33924
Now, when that exception isn't hit, the same paramErr is later encountered by the AUGraphStart() function, so I'm assuming it is just postponing the issue.
componentType = 1635085688, componentSubType = 1835232632, componentManufacturer = 1634758764, componentFlags = 0, componentFlagsMask = 0
Any ideas?
Sincerely, Carter Allen
On Jun 19, 2010, at 2:33 PM, Carter Allen wrote: Hello again!
I am attempting to create an AUGraph with a mixer unit and an output RemoteIO unit. I have been using the iPhoneMultichannelMixerTest project as a reference, and this particular piece of code is almost identical to the corresponding section in the sample project. When running this section of code, I stop on the last exception, when getting the node info for the mixer unit. The OSStatus code received back is -50, which I have read is a paramErr. I'm at a loss for what I'm doing wrong, as this has barely been altered from the sample code (which runs perfectly). Can anyone see what would be causing the paramErr?
...
Thanks for any help you can give me!
Sincerely, Carter Allen
|