Page 1 of 1

OSS switches mixer controls randomly

Posted: Wed Mar 02, 2011 3:56 am
by L29Ah
I made a binding for xbindkeys to control the output volume:
"ossmix misc.front1 -- +0.9"
mod4 + Up
"ossmix misc.front1 -- -0.9"
mod4 + Down

When i'm holding the keys i'm noticing OSS suddenly setting other mixer options to random values (checked with ossxmix). Is it a bug? What can i do about it?

Re: OSS switches mixer controls randomly

Posted: Wed Mar 02, 2011 1:09 pm
by igorzwx
L29Ah wrote:I made a binding for xbindkeys to control the output volume:
"ossmix misc.front1 -- +0.9"
mod4 + Up
"ossmix misc.front1 -- -0.9"
mod4 + Down

When i'm holding the keys i'm noticing OSS suddenly setting other mixer options to random values (checked with ossxmix). Is it a bug? What can i do about it?


Do you have Ubuntu 10.10?

Re: OSS switches mixer controls randomly

Posted: Wed Mar 02, 2011 2:38 pm
by cesium
What happens if you use vmix0-outvol instead of misc1.front? (Maybe giving commands too quickly to the driver causes this? Possibly a bug...)

Re: OSS switches mixer controls randomly

Posted: Wed Mar 02, 2011 2:50 pm
by igorzwx
cesium wrote:What happens if you use vmix0-outvol instead of misc1.front? (Maybe giving commands too quickly to the driver causes this? Possibly a bug...)


You may try 1 instead of 0.9

Code: Select all

$ man ossmix

ossmix vol +2
              Raise vol volume by 2.

ossmix -- vol +2:-2
              Raise the left channel volume by 2, and lower right channel vol‐
              ume  by  2.  The "--" is needed on some systems so that the "-2"
              won't be mistaken for a parameter.


It works well:

Code: Select all

$ ossmix vol +2
Value of mixer control vol set to 95.0:95.0
$ ossmix vol +2
Value of mixer control vol set to 97.0:97.0

Re: OSS switches mixer controls randomly

Posted: Thu Mar 10, 2011 6:13 pm
by L29Ah
igorzwx wrote:Do you have Ubuntu 10.10?

Gentoo here.

Re: OSS switches mixer controls randomly

Posted: Thu Mar 10, 2011 6:19 pm
by L29Ah
cesium wrote:What happens if you use vmix0-outvol instead of misc1.front? (Maybe giving commands too quickly to the driver causes this? Possibly a bug...)

Thanks, that fixed the problem. But i'd prefer to use the soundcard volume control because vmix outvol applies to the volume of the output recording too.

Re: OSS switches mixer controls randomly

Posted: Thu Mar 10, 2011 6:20 pm
by L29Ah
igorzwx wrote:You may try 1 instead of 0.9

No luck.