Re: New snapshot of modutils

Zygo Blaxell (uixjjji1@umail.furryterror.org)
24 Feb 1999 01:19:45 -0500


In article <E10Dmh4-0000yP-00@devel2.axiom.internal>,
David Woodhouse <David.Woodhouse@mvhi.com> wrote:
>uixjjji1@umail.furryterror.org said:
>> Mixer settings are saved at shutdown time and restored at boot.
>
>There's still a delay between loading the module and setting the levels, which
>there shouldn't be.

There will always be a delay between loading the module and setting the
levels. Both cannot physically happen at the same time unless you have a
sound card which can have its mixer settings set in the same I/O cycle
as the activation of the card.

What you want is for there to be no time at which the sound card mixer
settings are set to a value which is neither the value before the sound
module was loaded nor the value after the mixer levels are set for the
first time.

If the mixer settings default to zero when the card initializes, then we
have this timeline:

System start soundcard is not activated
Linux kernel loaded soundcard is not activated
Linux kernel boots soundcard is not activated
Linux kernel execs /sbin/init soundcard is not activated
/sbin/init runs soundcard is not activated
until the sound init script soundcard is not activated
sound script loads sound module soundcard is silent
sound script sets mixer volumes soundcard is non-silent

In that timeline there is a delay between loading the module and setting
the mixer levels. However, if we assume that the sound module initializes
all sound levels to silence, then there is no change in mixer levels between
the time before the sound module is loaded and after the mixer levels is
set.

Is that sufficient?

-- 
Zygo Blaxell, Linux Engineer, Corel Corporation, zygob@corel.ca (work),
zblaxell@furryterror.org (play).  It's my opinion, I tell you! Mine! All MINE!
Size of 'diff -Nurw [...] winehq corel' as of Wed Feb 24 00:14:00 EST 1999
Lines/files:  In 38 / 1, Out 8716 / 121, Both 8679 / 120

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/