From 0e0bfeecb60ffa25d997830553685482c666b7ba Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 13 Mar 2005 04:58:29 +0000 Subject: fixes for Metrowerks update for new flext callback naming svn path=/trunk/; revision=2623 --- externals/grill/xsample/source/play.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'externals/grill/xsample/source/play.cpp') 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) { -- cgit v1.2.1