[PD-dev] [ pure-data-Bugs-1518030 ] GOP subpatch clearing itself crashes Pd
Mathieu Bouchard
matju at artengine.ca
Tue Jul 11 22:31:40 CEST 2006
On Tue, 11 Jul 2006, Miller Puckette wrote:
> I don't have any idea how to do that... maybe the "any" object will
> work. It's of course incorrect for Gem to use A_POINTER this way -- I'd
> suggest changing it so that the gemhead temporarily binds it to a symbol
> (#gem?) so that 'square' etc can get a reference back to it.
How do you bind a non-t_pd to a symbol ? (or else, gemstate could become a
t_pd... just like t_outconnect is now a t_gobj in a certain branch of pd)
What would you suggest for the case of a certain other video plugin in
which any number of fake-A_POINTERs are being used at once, instead of
just one? I'm talking about GridFlow.
Another solution is to go back to using A_FLOAT as I was doing before. I
dropped using a pair A_FLOAT when I implemented 64-bit support. If I go
back to A_FLOAT it will be using 3 A_FLOAT.
BTW I just had a look at PDP again, and PDP doesn't use A_POINTER. It
seems to be numbering all buffers using small integers, and passing those
around as a single A_FLOAT. That's also the solution implemented by the
little-known MAPOD video plugin. That could be an option for GridFlow.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada
More information about the Pd-dev
mailing list