The Trunk: Sound-nice.46.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Sound-nice.46.mcz

commits-2
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]!