[pulseaudio-discuss] set volume all sinks
Lennart Poettering
lennart at poettering.net
Tue Feb 16 16:17:01 PST 2010
On Mon, 15.02.10 17:02, poort (poort at telenet.be) wrote:
> Thanks,
> But I was thinking on a script that will be called with GDM's
> Postlogin default script.The script should find the user's default
> sink and put the volume to max or 80 % with set-sink-volume "users
> default sink" 55000
Uh, that's a very bad idea, as for cards with builtin amplifiers (such
as USB speakers) 80% will blast off your ears. 80% has no defined
meaning and will result in completely different volumes on different
hardware.
If at all use "alsctl init 0" which is a lot smarter about coming up
with good default, based on the hw in use.
But that said it is presumably a much better idea to use the default
logic which saves/restores the volume settings between sessions, as
Colin pointed out.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list