[squeak-dev] The Trunk: Morphic-mt.1127.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 1 09:33:54 UTC 2016


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1127.mcz

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

Name: Morphic-mt.1127
Author: mt
Time: 1 May 2016, 11:32:25.144127 am
UUID: 5636f362-b347-d842-aaea-fe73bc3eb25b
Ancestors: Morphic-mt.1126

Another update regarding sound shutdown code.

=============== Diff against Morphic-mt.1126 ===============

Item was changed:
  ----- Method: AbstractSound class>>updateScorePlayers (in category '*Morphic-Sounds-sound library-file in/out') -----
  updateScorePlayers
  	| soundsBeingEdited |
  	"Force all ScorePlayers to update their instrument list from the sound library. This may done after loading, unloading, or replacing a sound to make all ScorePlayers feel the change."
  
  	ScorePlayer allSubInstancesDo:
  		[:p | p pause].
+ 	SoundPlayer shutDown: true.
- 	SoundPlayer shutDown.
  	soundsBeingEdited := EnvelopeEditorMorph allSubInstances collect: [:ed | ed soundBeingEdited].
  	ScorePlayerMorph allSubInstancesDo:
  		[:p | p updateInstrumentsFromLibraryExcept: soundsBeingEdited].
  !



More information about the Squeak-dev mailing list