The Trunk: Morphic-mt.1127.mcz

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

The Trunk: Morphic-mt.1127.mcz

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