Committed revision 10387.<div><br> </div><div>* Add SpectrumMagnitude view to Annotator</div><div>* Rename FirstBinFreq -> FirstBinOffset</div><div>* Update PoolFloatArrayDataSource::setCurrentTime to use _nBins (animated SpectrumMagnitude view works!)
</div><div><div><div><br class="webkit-block-placeholder"></div><div> </div><br><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Then we should move fast towards display some numerical labels on a widget. (A
<br>temporary hack on the BarGraph works for me, as it is a proof of concept).</blockquote><div><br class="webkit-block-placeholder"></div><div>OK-- working on that now, will post screenshot / send code when it's working!
</div><div> </div><br><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Besides that, getBinLabel implementation generates a very dangerous warning<br>message about "returning a reference to a temporary" object. In my opinion,
<br>this warning should be an compilation error as it is a clear memory leak.<br><br>How to solve it? Well the string is constructed so we should return it by copy<br>but we are implementing an interface, so the interface itself should be
<br>modified everywhere we use it. That includes the NetworkEditor :-(</blockquote><div><br class="webkit-block-placeholder"></div><div>Hmm... I'll take a look around and will probably bug you on IRC about that :)</div>
<div><br class="webkit-block-placeholder"></div><div>B </div><br><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday 11 July 2007 05:00:07 bennett kolasinski wrote:
<br>> Hi David,<br>> I've attached a patch that incorporates your comments (including a rename<br>> of FirstBinFreq to FirstBinOffset and updated the doxygen comments).<br>> Still, though, the BarGraph view of the SpectrumMagnitude data doesn't seem
<br>> to be working-- now it sometimes displays what looks like a fixed array of<br>> data but doesn't move (at least on my system, which can run Annotator<br>> excruciatingly slow...).  Any suggestions as to what's going on?
<br>><br>> B<br>><br><br><br></blockquote></div><br> </div>