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?
OSS switches mixer controls randomly
Moderators: dev, hannu, cesium
Re: OSS switches mixer controls randomly
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
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
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.0Re: OSS switches mixer controls randomly
igorzwx wrote:Do you have Ubuntu 10.10?
Gentoo here.
Re: OSS switches mixer controls randomly
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
igorzwx wrote:You may try 1 instead of 0.9
No luck.
Who is online
Users browsing this forum: No registered users and 5 guests