I'm having a strange behaviour when i insert my processing in the NetworkEditor.<br>It runs the configuration 2 times. (it always did it)<br><br>I realised of this because i send some output to the console and it appears twice.<br>
see the code:<br>.<br>. <br>void DefaultInit(){<br>   AddAll();<br>   UpdateData();<br>   SetMidiDevice(-1);<br><br>   // Device Listing on Console<br>   for (int i = 0; i < Pm_CountDevices(); i++) {<br>      const PmDeviceInfo *info = Pm_GetDeviceInfo(i);<br>
      if (info->input){<br>         printf("%d: %s, %s", i, info->interf, info->name);<br>         printf(" (input)");<br>         printf("\n");<br>       }<br>   }<br>}<br><br>it works fine, only prints the list one time (i've tested it).<br>
but see the output when i insert the module:<br><br>0: CoreMIDI, NeON Port 1 (input)<br>1: CoreMIDI, NeON Port 2 (input)<br>0: CoreMIDI, NeON Port 1 (input)<br>1: CoreMIDI, NeON Port 2 (input)<br><br>the DefaultInit() is executed twice.<br>
I don't know if this is a bug, or is like this for any reason, just wanted to notice it.<br>:)<br>