Hi,

On Thu, 4 Oct 2001, Rickard Lind wrote:

> > pcm_dev_open(*pcm_dev_format_s) return handle
> 
> Change that to:
> 
> pcm_dev_open() return handle
> 
> the pcm layer should get the 44kHz 16bit Stereo from ~/.freesci/config
> soundserver_* or oplout_pcmemu.c should have nothing to do with it.

Configuration management should be transparent to the subsystems, i.e.
they shouldn't do any reading themselves. The reason for this is that
we will then have only one central parser authority for configuration
options.

The current way to handle optional parameters is by means of function
set_parameter: char* x char* x state -> int x state.
That's what all the other subsystems do, and I think it's a reasonably
simple and powerful approach, although I'm open to suggestions for
improvements.


llap,
 Christoph


Reply via email to