[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sc-devel] Buffer:copy - bad name
You'd better put out a warning to the users list, Buffer.copy isn't an
obscure command...
Dan
2008/1/19, James Harkins <jamshark70@xxxxxxxxx>:
>
> No objection, I'm committing it.
> hjh
>
> On Jan 18, 2008, at 4:14 PM, James Harkins wrote:
>
> + Buffer {
> copy { arg buf, dstStartAt = 0, srcStartAt = 0, numSamples = -1;
> if(buf.notNil) {
> this.deprecated(thisMethod,
> this.class.findRespondingMethodFor(\copyData));
> this.copyData(buf, dstStartAt, srcStartAt, numSamples);
> } {
> ^super.copy
> }
> }
>
> copyData { arg buf, dstStartAt = 0, srcStartAt = 0, numSamples = -1;
> server.listSendMsg(
> this.copyMsg(buf, dstStartAt, srcStartAt, numSamples)
> )
> }
> }
>
> Any objection?
> hjh
>
>
>
> : H. James Harkins
>
> : jamshark70@xxxxxxxxxxxxxxxxx
>
> : http://www.dewdrop-world.net
>
> .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
>
>
>
>
> "Come said the Muse,
>
> Sing me a song no poet has yet chanted,
>
> Sing me the universal." -- Whitman
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@xxxxxxxxxxxxxxx
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
>
--
http://www.mcld.co.uk