you could also do something with openGL that would be fairly efficient...I know a fellow who implemented something very similar to this for an iPhone oscilloscope.
you'll most certainly want to copy the samples into a ringbuffer...doing the GUI work from the realtime thread is just asking for trouble. off in the GUI thread, read the samples from the ringbuffer and push them to the graphics card as a vertex buffer object. should keep things pretty speedy... -w _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
