Set an initial volume

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Set an initial volume

Postby simonbcn » Wed Nov 10, 2010 6:36 pm

Hi,
I have replaced ALSA/Pulseaudio with OSS4 on Ubuntu 10.04 32bits.
It works well but, sometimes, when I get into my gnome session, the initial volume is 0. I don't know why this occurs.
How I can set an initial volume when the session (or the system) starts?
Regards.
simonbcn
New Member
 
Posts: 2
Joined: Wed Nov 10, 2010 6:29 pm

Re: Set an initial volume

Postby cesium » Wed Nov 10, 2010 7:14 pm

The last volume should be automatically restored by the savemixer utility which runs every time OSS is started. Possibly the saved volume is muted somewhere? You can run it manually** to check if it's wrong (by restoring the volume and checking in oss(x)mix), and to save the correct values. If this fails you can run it to restore volume (or use an ossmix command) just before GNOME starts, but in that case I wonder what mutes it...

** "sudo savemixer" to save, "sudo savemixer -L" to restore [sudo not really needed for restore, but it might not be in path otherwise]. You can use '-f' switch to set filename. There's also a manpage.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron