Audio Stops when SubGraph reconnects
Audio Stops when SubGraph reconnects
- Subject: Audio Stops when SubGraph reconnects
- From: Russ Fellman <email@hidden>
- Date: Wed, 4 Mar 2009 15:39:32 -0500
I am having an issue with dsconnecting and reconnecting a subgraph to the main graph.
It is laid out this way...
SG 1 --------\
------Mixer-----Output---
SG 2 --------/
SG 1 is FilePlayer ----- Generic Output
SG 2 is FilePlayer ----- Generic Output
When I disconnect and reconnect, the sound stops, then returns, just as I would expect.
However, when I disconnect it for longer than about 3 seconds, It doesnt return. Any thoughts
on why this problem is occuring?
Here is my Disconnect and Reconnect
-(void)disconnect{
AUGraphDisconnectNodeInput(myGraph, mNode, 0);
AUGraphUpdate(myGraph, NULL);
}
-(void)reconnect{
AUGraphConnectNodeInput(myGraph, sgNode, 0, mNode,0);
AUGraphUpdate(myGraph, NULL);
}
SG node is the node that references the subgraph
_______________________________________________
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