<HTML>
<HEAD>
<TITLE>[Q] How should be this method ?</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>!SoundBuffer methodsFor: '*MuO-Music' stamp: 'spfa 11/18/2009 18:16'!<BR>
mixedWith: aSoundBuffer<BR>
<BR>
^ ((aSoundBuffer size >= self size) ifTrue: [aSoundBuffer] ifFalse: [self])<BR>
collectWithIndex: [:s :i | <BR>
(s + (self at: i ifAbsent: [0])) forceIn: (- 32767 to: 32767)].<BR>
<BR>
Importing in trunk 9553 the compiler say is wrong<BR>
<BR>
<BR>
<BR>
mixedWith: aSoundBuffer<BR>
<BR>
^ ((aSoundBuffer size >= self size) ifTrue: [aSoundBuffer] ifFalse: [self])<BR>
collectWithIndex: [:s :i | <BR>
(s + (self at: i ifAbsent: [0])) forceIn: ( expression expected ->- 32767 to: 32767)].<BR>
<BR>
<BR>
Could explain ?<BR>
<BR>
Edgar</SPAN></FONT></FONT>
</BODY>
</HTML>