rewiring on the fly and AUGraphUpdate
rewiring on the fly and AUGraphUpdate
- Subject: rewiring on the fly and AUGraphUpdate
- From: "Jan Calta" <email@hidden>
- Date: Tue, 10 Apr 2007 01:46:20 +0200
Hello,
I'm trying to connect/disconnect AUTimePitch to rendering AUGraph and
have some troubles with AUGraphUpdate call after setting connections
(via AUGraphClearConnections and AUGraphConnectNodeInput calls):
I have AUFilePlayer->(AUTimePitch)->AUDefaultOutput graph and I'm
usually able connect TimePitch during processing, but when I try to
disconnect it again, it almost everytime damages the graph (jump to
different (or even non-existent) frame is made and I get no output).
This is when I use blocking call of AUGraphUpdate(graph, NULL). Next
reconnection doesn't work.
When I use nonblocking call - AUGraphUpdate(graph, &update), I get
"NO" value in 'update'. Could I know, what can get wrong during
GraphUpdate and what can I do to get it really updated?
I use CAShow before and after rewiring + updating and result seems to
be ok, structure of graph is reported as expected. All nodes are
connected via 0 bus - I think this is the right way?
Is there any obvoius reason, why AUGraphUpdate doesn't work in this
case? Do I miss to call any other function before AUGraphUpdate?
Thank you for any help
Jan Calta
_______________________________________________
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