diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-13 04:58:29 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-13 04:58:29 +0000 |
commit | 0e0bfeecb60ffa25d997830553685482c666b7ba (patch) | |
tree | 61add82a31f1105f99e7959ea34a91659f7f3055 /externals/grill/xsample/source/play.cpp | |
parent | b1d7abe2eddd5d2f1c579a6e0967e6ca7de78ecb (diff) |
fixes for Metrowerks
update for new flext callback naming
svn path=/trunk/; revision=2623
Diffstat (limited to 'externals/grill/xsample/source/play.cpp')
-rw-r--r-- | externals/grill/xsample/source/play.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/externals/grill/xsample/source/play.cpp b/externals/grill/xsample/source/play.cpp index 268b853a..69f37cc3 100644 --- a/externals/grill/xsample/source/play.cpp +++ b/externals/grill/xsample/source/play.cpp @@ -29,9 +29,11 @@ public: } protected: - virtual void m_help(); + + virtual void CbSignal(); + + virtual void m_help(); virtual void m_print(); - virtual void m_signal(int n,t_sample *const *in,t_sample *const *out); private: static void setup(t_classid c); @@ -83,9 +85,12 @@ xplay::xplay(int argc,const t_atom *argv) } } -void xplay::m_signal(int n,t_sample *const *in,t_sample *const *out) +void xplay::CbSignal() { int ret = ChkBuffer(true); + int n = Blocksize(); + const t_sample *const *in = InSig(); + t_sample *const *out = OutSig(); // check whether buffer is invalid or changed if(ret) { |