Re: rewiring on the fly and AUGraphUpdate
Re: rewiring on the fly and AUGraphUpdate
- Subject: Re: rewiring on the fly and AUGraphUpdate
- From: William Stewart <email@hidden>
- Date: Tue, 10 Apr 2007 11:25:29 -0700
Jan
Its hard to tell from your description - if you have some simple code
that can reproduce this problem, it would be best if you could file a
bug report and attach that code to it.
bugreporter.apple.com
Thanks
Bill
On 09/04/2007, at 4:46 PM, Jan Calta wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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