Re: [LAD] Real-time plotting of audio/ oscilloscope.

From: Will Light <visinin@email-addr-hidden>
Date: Thu Jun 17 2010 - 20:59:12 EEST

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
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Jun 18 00:15:01 2010

This archive was generated by hypermail 2.1.8 : Fri Jun 18 2010 - 00:15:01 EEST