[Sc-devel] [Propose] Make #define GET_BUF generally available

Dan Stowell danstowell at gmail.com
Thu Nov 8 10:32:59 PST 2007


Hi -

Writing my chapter (on writing UGens), I realise that it's quite a
fiddle for UGen writers to access buffers, because the macros for
doing this aren't made available by the standard API (i.e. by
SC_PlugIn.h and all that follows from that).

There's a GET_BUF macro which appears here and there: separately in
three plugin files, albeit with slight tweaks. It would be nice to
make the basic version of that macro generally available - it would
really simplify the procedure for third-party UGen writers.

Not sure exactly the best place to put the macro - perhaps SC_Unit.h.

OK for me to do this, after SC 3.1.1 is out?

Dan

-- 
http://www.mcld.co.uk


More information about the Sc-devel mailing list