The Trunk: System-ar.315.mcz

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

The Trunk: System-ar.315.mcz

commits-2
Andreas Raab uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ar.315.mcz

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

Name: System-ar.315
Author: ar
Time: 14 April 2010, 9:57:00.701 pm
UUID: 6ebb3f09-d0df-c54b-91c1-0c71a934684e
Ancestors: System-ar.314

Change the default for the platform preference #soundStopWhenDone to be true. This only affects Unix since Mac and Windows always had explicit platform settings for this preference. The intent is to address CPU utilization issues in Unix sound.

=============== Diff against System-ar.314 ===============

Item was changed:
  ----- Method: SmalltalkImage>>setPlatformPreferences (in category 'snapshot and quit') -----
  setPlatformPreferences
  "Set some platform specific preferences on system startup"
  | platform specs |
  Preferences automaticPlatformSettings ifFalse:[^self].
  platform := self platformName.
  specs := #(
+ (soundStopWhenDone true)
- (soundStopWhenDone false)
  (soundQuickStart false)
  ).
  platform = 'Win32' ifTrue:[
  specs := #(
  (soundStopWhenDone true)
  (soundQuickStart false)
  )].
  platform = 'Mac OS' ifTrue:[
  specs := #(
  (soundStopWhenDone false)
  (soundQuickStart true)
  )].
  specs do:[:tuple|
  Preferences setPreference: tuple first toValue: (tuple last == true).
  ].
  !