[squeak-dev] AbstractSound bug in 4.1 rc5

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Apr 16 23:58:12 UTC 2010


Sorry Stephane,
That was me.
I think it is better to have a uniform behaviour: add:return the argument.

Nicolas

2010/4/17 Stéphane Rollandin <lecteur at zogotounga.net>:
> and we have the same change in MixedSound>>#add: leading to the same error
> in AbstractSound>>+
>
> may be this has something to do with the sounds problem what where discussed
> recently ?
>
> anyway the fix is easy, just add a #yourself ...
>
>
> AbstractSound
> + aSound
>        "Return the mix of the receiver and the argument sound."
>
>        ^ MixedSound new
>                add: self;
>                add: aSound;
>                yourself
>
>
> AbstractSound
> , aSound
>        "Return the concatenation of the receiver and the argument sound."
>
>        ^ SequentialSound new
>                add: self;
>                add: aSound;
>                yourself
>
>
> Stef
>
>
>
>



More information about the Squeak-dev mailing list