Open LinqLover opened 6 months ago
Morph>>veryDeepCopyWith:
sends prepareToBeSaved
and eventually AnonymousSoundMorph>>releaseCachedState
, which converts the SampledSound
into a CompressedSoundData
AnonymousSoundMorph
does not implement loadCachedState
to convert the sound back!
Naive implementation:
AnonymousSoundMorph>>loadCachedState
super loadCachedState.
sound isCompressed
ifTrue: [sound := sound asSound].
loadCachedState
is never sent (neither after copying nor after file-in)!
AnonymousSoundMorph>>veryDeepFixupWith:
(beware, might be executed before fixing up all variables ...)CompressedSoundData>>asSound
: