[squeak-dev] The Trunk: Sound-nice.46.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Nov 14 00:23:50 UTC 2015


Nicolas Cellier uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-nice.46.mcz

==================== Summary ====================

Name: Sound-nice.46
Author: nice
Time: 14 November 2015, 1:23:37.588 am
UUID: b477c1a5-5650-43b0-8105-1867382b077c
Ancestors: Sound-tpr.45

Pass a boolean to startUpFrom: indicating whether the object came from a different endian machine or not.

=============== Diff against Sound-tpr.45 ===============

Item was changed:
  ----- Method: SoundBuffer class>>startUpFrom: (in category 'objects from disk') -----
+ startUpFrom: endiannessHasToBeFixed 
- startUpFrom: anImageSegment 
  	"In this case, do we need to swap word halves when reading this segment?"
  
+ 	^endiannessHasToBeFixed
- 	^Smalltalk endianness ~~ anImageSegment endianness 
  		ifTrue: [Message selector: #swapHalves	"will be run on each instance"]
  		ifFalse: [nil]!



More information about the Squeak-dev mailing list