If somebody wants to have a look here is my solution:

        - in SoundService I added the possibility to delegate to the registered 
soundsystem for preferences
        see package: System-Applications in inbox
        
        - I fixed all the references to SoundSettings in Sounds to refer to 
BaseSoundSystem
        and BaseSoundSystem is not the hold of the preferences.

        see Slice-3482 in the inbox

Stef


On Jan 30, 2011, at 6:59 PM, Stéphane Ducasse wrote:

> So here is a part of the answer
> 
>       Sound should be self contained so BaseSoundSystem could have 
> 
> AbstractSoundSystem subclass: #BaseSoundSystem
>       instanceVariableNames: ''
>       classVariableNames: 'SoundEnabled SoundQuickStart UseThemeSounds'
>       poolDictionaries: ''
>       category: 'Sound-Synthesis'
> 
> and class level accessor
> 
> Then we can defined adequate method extension in 
> 
> Sound-Settings that describe the default value
> 
> Then SoundService should not have state but delegate to the current install 
> class player the SoundService supplier.
> 
> I hope it makes sense. I will code that.
> 
> Stef
> 
> 


Reply via email to