[etoys-dev] Etoys: Sound-kfr.2.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 29 19:57:45 EDT 2010

Karl Ramberg uploaded a new version of Sound to project Etoys:

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

Name: Sound-kfr.2
Author: kfr
Time: 30 May 2010, 1:57:46 am
UUID: 72cae229-af48-9047-9875-7c19f86b4336
Ancestors: Sound-bf.1

We must keep a reference to the sound we are playing so we can stop it later...

=============== Diff against Sound-bf.1 ===============

Item was changed:
  ----- Method: BaseSoundSystem>>playSoundNamed: (in category 'playing') -----
  playSoundNamed: soundName
  	"There is sound support, so we play the given sound."
  	Preferences soundsEnabled ifTrue: [
+ 		^SampledSound playSoundNamed: soundName asString]!
- 		SampledSound playSoundNamed: soundName asString]!

More information about the etoys-dev mailing list