OSS switches mixer controls randomly

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

OSS switches mixer controls randomly

Postby L29Ah » Wed Mar 02, 2011 3:56 am

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?
L29Ah
Member
 
Posts: 15
Joined: Sun Nov 28, 2010 6:35 am

Re: OSS switches mixer controls randomly

Postby igorzwx » Wed Mar 02, 2011 1:09 pm

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?
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: OSS switches mixer controls randomly

Postby cesium » Wed Mar 02, 2011 2:38 pm

What happens if you use vmix0-outvol instead of misc1.front? (Maybe giving commands too quickly to the driver causes this? Possibly a bug...)
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: OSS switches mixer controls randomly

Postby igorzwx » Wed Mar 02, 2011 2:50 pm

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
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: OSS switches mixer controls randomly

Postby L29Ah » Thu Mar 10, 2011 6:13 pm

igorzwx wrote:Do you have Ubuntu 10.10?

Gentoo here.
L29Ah
Member
 
Posts: 15
Joined: Sun Nov 28, 2010 6:35 am

Re: OSS switches mixer controls randomly

Postby L29Ah » Thu Mar 10, 2011 6:19 pm

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.
L29Ah
Member
 
Posts: 15
Joined: Sun Nov 28, 2010 6:35 am

Re: OSS switches mixer controls randomly

Postby L29Ah » Thu Mar 10, 2011 6:20 pm

igorzwx wrote:You may try 1 instead of 0.9

No luck.
L29Ah
Member
 
Posts: 15
Joined: Sun Nov 28, 2010 6:35 am


Return to Linux

Who is online

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