Thinking about it more, it seems to be something that needs an extension.  A plugin should be able to stop processing partway through a chunk and say "Hey, I ran out of space for events, here's how many frames I finished".  Ideally it would just be the return value of the <i>run</i> function (think of an fwrite like interface), but obviously we can't make an incompatible change like that.  Probably just a tagged port like the way latency reporting works.  It can be an optional feature, and if a host doesn't support it, it just loses events, but it still works.  What do you think?<br>

<br>Jeremy<br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 7:02 PM, Jeremy Salwen <span dir="ltr"><<a href="mailto:jeremysalwen@gmail.com" target="_blank">jeremysalwen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I can find in the documentation that atom output ports are supposed to be connected to an atom:Chunk, so the plugin knows how much space it has to write output events.  However, I can't find anything about how the host or plugin should behave if the space given is not enough to write all the events.  How can the host tell if the plugin should have a bigger buffer size?<br>


<br>Also, where does the plugin write the atom:Sequence?  directly over the atom:chunk or after the atom:chunk header?<span class="HOEnZb"><font color="#888888"><br><br>Jeremy<br>
</font></span></blockquote></div><br>