<div dir="ltr">On Mon, Oct 28, 2013 at 10:24 AM, Aurélien Leblond <span dir="ltr"><<a href="mailto:blablack@gmail.com" target="_blank">blablack@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> The map object is 'just there' for when you need it, like creating new<br>
> forges ;)  I've always wondered if it made more sense  to provide a accessor<br>
> method to it for clarity   Plugin::get_urid_map() const   or something like<br>
> that.<br>
><br>
> That looks right for creating a forge, AtomForge's  ctor will call<br>
> lv2_atom_forge_init<br>
> when the map is passed in (just like you do above)<br>
><br>
>><br>
>>    void Scope::run(uint32_t nframes)<br>
>>    {<br>
>>        // you're sending things in an atom sequence so get the size<br>
>> information<br>
>>        // from the port buffer<br>
>><br>
>>       LV2_Atom_Sequence* aseq = (LV2_Atom_Sequence*) p (p_notify);<br>
>>       m_forge->set_buffer ((uint8_t*) aseq, aseq->atom.size);<br>
>><br>
>>        m_forge->sequence_head(m_notify_frame, 0);<br>
>><br>
>>        // sequences need a timestamp for each event added<br>
>>        m_forge->frame_time(0);<br>
>><br>
>>        m_forge->write_float(1604);<br>
>>    }<br>
>><br>
><br>
> Still nothing happening on the GUI end ay?  Could I just have a link to the<br>
> full source code?  I'm better debugging hands on.  Sorry, I can't recall the<br>
> git address to your plugin set.<br>
><br>
> Forging atoms (in a way that actually works) isn't by any means a straight<br>
> forward process.<br>
<br>
Thanks for checking, I really have the feeling I'm missing something<br>
small here :)<br></blockquote><div><br></div><div>Yep, missing something small seems to happen to me frequently.  I'm jumping over to my Linux machine and will give it a go.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
The SVN is here:<br>
svn checkout svn://<a href="http://svn.code.sf.net/p/avwlv2/code/trunk" target="_blank">svn.code.sf.net/p/avwlv2/code/trunk</a> avw.lv2<br>
<br>
(Ingen is the host I use to test them)<br>
</blockquote></div><br></div></div>