mirror of https://bitbucket.org/ausocean/av.git
f59879b51d
Now that we want buffered senders (as required), the ringBuffer that was after the lexer has been removed. Instead, we now have an ioext.multiWriterCloser to which the lexer writes to. This then writes to the encoders, and then encoders write to each of their own multiWriteClosers, which write to the appropriate senders. We now call close on the first multiWriteCloser to close down the entired pipeline, as this close call propogates through each level. We have removed the outputClips routine as it's not required anymore to get data from the revid ringBuffer, and have removed other things that were used by this, like the IsRunning function. We have also updated tests to work with these changes - they are passing. |
||
---|---|---|
.. | ||
config.go | ||
gpl.txt | ||
revid.go | ||
revid_test.go | ||
senders.go | ||
senders_test.go |