[PD] external glitch with jack not with alsa why?

2009-07-15 Thread patrick
hi all, i have this external that use libusb. everything is fine if i use alsa, but when using jack every usb poll i get a glitch. why? would it be possible to avoid this glitch? is this a threading issue? why this external is affecting the dsp of pd? pat #include "m_pd.h" #include #includ

Re: [PD] external glitch with jack not with alsa why?

2009-07-15 Thread patrick
hi, update on this problem: instead of trying to rewrite the external, i was trying to use netsend (udp) / netreceive to send 17 messages (int) each 10 ms using 2 instances of pd (-nrt -nogui / pd -rt -jack). i have a strange behaviour with pd -rt -jack, i cannot click anywhere, it's frozen u

Re: [PD] external glitch with jack not with alsa why?

2009-07-16 Thread Rich E
What version of pd are you using? On Thu, Jul 16, 2009 at 8:14 AM, patrick wrote: > hi, > > update on this problem: > > instead of trying to rewrite the external, i was trying to use netsend > (udp) / netreceive to send 17 messages (int) each 10 ms using 2 instances of > pd (-nrt -nogui / pd -rt

Re: [PD] external glitch with jack not with alsa why?

2009-07-16 Thread patrick
compiled from svn : pd 0.42.5 i have also tried auto-build 0.42.5 i still have the problem with the external (glitchy under jack). but netsend / netreceive is working when using something like: [pack 0 0 0 0 0 0 0 0 0 0 0 0 0] | [send $1 $2 $3 ] | [netsend] still i would like to know if i

Re: [PD] external glitch with jack not with alsa why? [SOLVED]

2009-07-16 Thread patrick
hi, using pthread did the trick. as you can see i removed the reference to the external clock (m_clock) and replace the call to usb in a thread. no more glitch with jack even @ 64 audiobuf. pat #include "m_pd.h" #include //http://libusb-win32.sourceforge.net #include #include #include #in