On Tue, Oct 08, 2002 at 10:12:03 -0400, Paul Davis wrote:
Heh, this is
free software. We just need consensus and someone willing to
get thier hands dirty ;)
I'm trying to understand how the graph sorting code works, AFAICT despite
comments to the contrary there are no (or few) places in the graph code
where it assumes that there are only connections from outputs to inputs. I
thats correct. originally, the distinction seemed important but there
is really nowhere that it matters at this time. what does matter is
probably a buglet that needs fixing anyway. jack_port_get_buffer()
should do the right thing one way or another - get the buffer
currently being used as the data source/sink for this port, which for
an input port will depend on whether it is connected or not. there
might also be an issue with the sorting code graph traversal checking
only input or output ports during part of its operations.
The big problem appears to be that there is only one kind of connection
per port, so the buffer munging code can't distinguish between output and
input connections (obviously there was no need before).
I'm about to embark on splitting up the connections lists into input_ and
output_connections, so shout now if there are likly to be any showstoppers
(eg. I'l let you commit that over my dead body ;)
God bless CVS,
Steve