[squeak-dev] [Q] How should be this method ?
Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Wed Mar 3 13:12:07 UTC 2010
!SoundBuffer methodsFor: '*MuO-Music' stamp: 'spfa 11/18/2009 18:16'!
mixedWith: aSoundBuffer
^ ((aSoundBuffer size >= self size) ifTrue: [aSoundBuffer] ifFalse:
[self])
collectWithIndex: [:s :i |
(s + (self at: i ifAbsent: [0])) forceIn: (- 32767 to: 32767)].
Importing in trunk 9553 the compiler say is wrong
mixedWith: aSoundBuffer
^ ((aSoundBuffer size >= self size) ifTrue: [aSoundBuffer] ifFalse:
[self])
collectWithIndex: [:s :i |
(s + (self at: i ifAbsent: [0])) forceIn: ( expression expected
->- 32767 to: 32767)].
Could explain ?
Edgar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100303/fb14c4b9/attachment.htm
More information about the Squeak-dev
mailing list
|