Re: Audio Stops when SubGraph reconnects
Re: Audio Stops when SubGraph reconnects
- Subject: Re: Audio Stops when SubGraph reconnects
- From: William Stewart <email@hidden>
- Date: Wed, 4 Mar 2009 17:32:36 -0800
your file player has lost its idea of where it is - you will need to
reset it before you connect it up again.
On Mar 4, 2009, at 12:39 PM, Russ Fellman wrote:
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
_______________________________________________
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