<div dir="ltr"><div><div><div>yeah, that is what I based my changes off of.<br></div>What all needs to be done to integrate the new 'stuff'? Maybe I'd try my hand at it.<br></div>Is the goal to switch pd instances before calling the libpd calls or pass a pd_instance to the libpd calls?<br></div>-Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 8:54 AM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Yeah, we haven't integrated the new stuff into the libpd api yet. Look at the multi instance example in c/samples.<div><div class="h5"><div><br><div><blockquote type="cite"><div>On Aug 18, 2017, at 5:45 PM, Alex <<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>> wrote:</div><br class="m_-7846885845798448073Apple-interchange-newline"><div><div dir="ltr"><div><div><div><div><div><div><div>Hey,<br><br></div>I did the update and that, or moving my call to create a pd_instance to after libpd_init() resolved my issue..<br></div>Now my problem is that I have multiple different plugins using libpd in the same memory space and I'm not sure if:<br></div>1) is it safe to call libpd_init() multiple times, potentially while pd_instances exist and might be executing in another thread?<br></div>2) is there any way to see if libpd has been intialized and not call libpd_init() ? libpd_bind("PDLV2-TEST"); and before calling libpd_init I'd test..       if (libpd_exists("PDLV2-TEST") != 0)<br></div>but that causes a segfault now.. maybe I just need to submit a bug report for that.<br><br></div>Thanks!<br></div>Alex<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 17, 2017 at 5:27 PM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">The build issue is fixed and libpd is now using pd 0.48-0. No official release yet, but you can try the current master branch.<div><div class="m_-7846885845798448073h5"><div><br><div><blockquote type="cite"><div>On Aug 14, 2017, at 6:59 PM, Alex <<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>> wrote:</div><br class="m_-7846885845798448073m_7896167109156093841Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Ahh, okay.<br></div>Maybe I'll see about running libpd with a slightly older pure-data source submodule.. <br></div>Thanks for the heads up!<br></div>-Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 4:29 AM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Note: There is currently an issue with the pd sources and libpd: <a href="https://github.com/pure-data/pure-data/issues/180" target="_blank">https://github.com/pure<wbr>-data/pure-data/issues/180</a><div><span><br><div><blockquote type="cite"><div>On Aug 14, 2017, at 12:52 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>> wrote:</div><br class="m_-7846885845798448073m_7896167109156093841m_-7946083304570570346Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Also, the current pd sources are not up to date with the 0.48 release. I will do that for now at least.</span></div></blockquote></div><br></span><span><div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">--------</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dan Wilcox</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://twitter.com/danomatika" target="_blank">@danomatika</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://danomatika.com/" target="_blank">danomatika.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://robotcowboy.com/" target="_blank">robotcowboy.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br class="m_-7846885845798448073m_7896167109156093841m_-7946083304570570346Apple-interchange-newline">
</div>
<br></span></div></div></blockquote></div><br></div>
</div></blockquote></div><br><div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">--------</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dan Wilcox</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://twitter.com/danomatika" target="_blank">@danomatika</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://danomatika.com/" target="_blank">danomatika.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://robotcowboy.com/" target="_blank">robotcowboy.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br class="m_-7846885845798448073m_7896167109156093841Apple-interchange-newline">
</div>
<br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">--------</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dan Wilcox</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://twitter.com/danomatika" target="_blank">@danomatika</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br class="m_-7846885845798448073Apple-interchange-newline">
</div>
<br></div></div></div></div></blockquote></div><br></div>