AUGraph debugging
AUGraph debugging
- Subject: AUGraph debugging
- From: Jonathan <email@hidden>
- Date: Sun, 4 Jul 2010 17:51:16 -0700
I've got a graph with a mixer (2 inputs, one mic, one render callback)
and a remote ionode. CAShow gives me this:
AudioUnitGraph 0x3D3C000:
Member Nodes:
node 1: 'auou' 'rioc' 'appl', instance 0x2200f40 O I
node 2: 'aumx' 'mcmx' 'appl', instance 0x200df80 O I
Connections:
node 1 bus 1 => node 2 bus 0 [1 ch, 44100 Hz]
node 2 bus 0 => node 1 bus 0 [2 ch, 44100 Hz]
Input Callbacks:
{0x478c2, 0x20107b4} => node 2 bus 1 [2 ch, 44100 Hz]
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isRunning=F
Stream formats are as follows:
Remote IO: bus 1 output: rate: 44100.000000, 1 channels, 32 bits per channel
Mixer: bus 0 input: rate: 44100.000000, 1 channels, 32 bits per channel
Mixer: bus 1 input: rate: 44100.000000, 2 channels, 16 bits per channel
Mixer: bus 0 output: rate: 44100.000000, 2 channels, 16 bits per channel
Remote IO: bus 0 input: rate: 44100.000000, 2 channels, 16 bits per channel
I have one render callback set for bus 1 on the mixer, and I have a
RenderNotify set for the graph.
My render notify is getting called just fine, but the render callback
for bus 1 isn't firing. Any ideas why the callback wouldn't fire?
Here's how I set it on the graph:
AURenderCallbackStruct mp3line_callback;
mp3line_callback.inputProc = &MP3LineIn_callback;
mp3line_callback.inputProcRefCon = &engine_state;
res = AUGraphSetNodeInputCallback(engine_graph, mixer_node,
mixer_mp3_bus, &mp3line_callback);
NSAssert(res == noErr, @"mp3 callback");
_______________________________________________
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