<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div id="yiv1981445972"><div class="yiv1981445972gmail_quote">On Sun, Feb 10, 2013 at 11:36 PM, Patrick Shirkey <span dir="ltr"><<a rel="nofollow" ymailto="mailto:pshirkey@boosthardware.com" target="_blank" href="mailto:pshirkey@boosthardware.com">pshirkey@boosthardware.com</a>></span> wrote:<br><blockquote class="yiv1981445972gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="yiv1981445972HOEnZb"><div class="yiv1981445972h5"><br>
On Mon, February 11, 2013 3:21 pm, Paul Davis wrote:<br>
> On Sun, Feb 10, 2013 at 11:16 PM, Patrick Shirkey <<br>
> <a rel="nofollow" ymailto="mailto:pshirkey@boosthardware.com" target="_blank" href="mailto:pshirkey@boosthardware.com">pshirkey@boosthardware.com</a>> wrote:<br>
><br>
>><br>
>> On Mon, February 11, 2013 9:47 am, Tristan Matthews wrote:<br>
>> > 2013/2/10 Patrick Shirkey <<a rel="nofollow" ymailto="mailto:pshirkey@boosthardware.com" target="_blank" href="mailto:pshirkey@boosthardware.com">pshirkey@boosthardware.com</a>><br>
>><br>
>> > Therč's this one:<br>
>> ><br>
>> <a rel="nofollow" target="_blank" href="https://github.com/sat-metalab/scenic/blob/master/src/vumeter/vumeter.cpp">https://github.com/sat-metalab/scenic/blob/master/src/vumeter/vumeter.cpp</a><br>
>> > <a rel="nofollow" target="_blank" href="https://github.com/sat-metalab/scenic/blob/master/src/include/vumeter.h">https://github.com/sat-metalab/scenic/blob/master/src/include/vumeter.h</a><br>
>> ><br>
>> > It has only a few c++isms and could easily be purely in C.<br>
>> ><br>
>><br>
>> Thanks. It does look useful. Seems to be written for gtk2 though. Have<br>
>> you<br>
>> compiled it with gtk3?<br>
>><br>
><br>
> at the very least, it would need a draw() method rather than an expose()<br>
> method.<br>
><br>
> plus, if i read it correctly it also redraws its entire self (subject to<br>
> cairo clipping) on every expose.<br>
><br>
> contrast with the the fastmeter in ardour3's libs/gtkmm2ext which draws<br>
> only the changed pixels per expose.<br>
><br>
<br>
</div></div>I would prefer to use that but it's in pure C++ as well as GTK2 so I have<br>
to convert it to c and gtk3 :-(<br>
<div class="yiv1981445972HOEnZb"><div class="yiv1981445972h5"><br></div></div></blockquote><div><br>Back in the days I had time to help Herman Meyer on his guitarix project, I imported ardour's fast meters into C. Guitarix was using the C version of gtk. You can look into the old guitarix code in sourceforge (that was a long while back, maybe 3-4 years).<br><br>J.<br><br></div></div>
</div><br>_______________________________________________<br>Linux-audio-dev mailing list<br><a ymailto="mailto:Linux-audio-dev@lists.linuxaudio.org" href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br><a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br><br><br> </div> </div>  </div></body></html>