On Wed, Nov 22, 2006 at 12:37:16AM +0100, Dominic Sacré wrote:
Wow, 1%?! Is that using plain X11? Sounds almost too
good to be true.
I think it goes without saying that I'd be interested in seeing your
code ;)
I'll probably release this one of these days. It needs some cleaning
up and mimimal packaging and documentation. It uses libclxclient
which for drawing is just a very thin C++ layer on top of X11.
The main X11 call used are:
XCopyArea() scroll
XFillRectange() clear the new part
XDrawSegments() plot the new lines
Update speed is fixed at Fsample / 480 (for Fsample <= 48 kHz),
modified slightly by a DLL to adapt to the actual sample rate.
--
FA
Lascia la spina, cogli la rosa.