---
** [patches:#530] canvas_dspstate compatibilty**
**Status:** open
**Group:** bugfix
**Labels:** dspstate
**Created:** Mon Sep 29, 2014 12:47 PM UTC by Pierre
**Last Updated:** Mon Sep 29, 2014 12:47 PM UTC
**Owner:** nobody
All is the title and here my suggestion to solve the problem :
EXTERN int canvas_dspstate;
EXTERN int pd_getdspstate()
{
return pd_this->pd_dspstate;
}
void pd_init(void)
{
if (!pd_this)
pd_setinstance(pdinstance_donew(0));
mess_init();
obj_init();
conf_init();
glob_init();
garray_init();
}
EXTERN void pd_setinstance(t_pdinstance *x)
{
pd_this = x;
canvas_dspstate = pd_this->pd_dspstate;
}
---
Sent from sourceforge.net because [email protected] is subscribed to
https://sourceforge.net/p/pure-data/patches/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/pure-data/admin/patches/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list._______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev