lkml.org 
[lkml]   [2003]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Bug 623] New: Volume not remembered.
Jamie Lokier wrote:
> Even when the microphone is disabled, you still get (a) the sound of
> nearby mobile phone radio signals (my laptop is very bad for this),
> (b) a scary load "pop" as the sound system pulses the speaker. This
> is particularly bad with powered external speakers, as you wonder
> whether it is good for them.

Good points.

> A standard audio module option "volume=X" meaning "set volume X%
> when the module initialises".

I don't quite see how this would make user space any less
fancy:

# insmod audio_driver volume=`retrieve_volume`

versus

# insmod audio_driver
# aumix -L >/dev/null

only that the latter can do a lot more, so you may want it even
if the module lets you set the volume. And the module solution
doesn't help with monolithic kernels. (And I doubt you'd want
this to be a kernel command line parameter. Talk about fancy.)

> Then anything with a fancy enough userspace [...]

echo 'aumix -L >/dev/null' >>/etc/rc.d/rc.local

Wow, that was hard :-) (Okay, things get a tad more complex if
you have more than one mixer.)

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [from the cache]
©2003-2011 Jasper Spaans