[PD-dev] [pure-data:patches] #530 canvas_dspstate compatibilty
Pierre
pierreguillot at users.sf.net
Mon Sep 29 14:47:17 CEST 2014
---
** [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 pd-dev at lists.iem.at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20140929/e5f2410e/attachment.html>
More information about the Pd-dev
mailing list