Summary: | DBus call to setMasterVolume(value) sets the Master volume to a lower value | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Diego Casella <polentino911> |
Component: | general | Assignee: | Christian Esken <esken> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | lamarque |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Diego Casella
2011-03-02 11:21:18 UTC
I think this happens because each sound card uses its own step when increasing and decreasing the volume. The hardware will adjust to the closest value if you try to change it to a value that it does not support, from 75 to 72 in your example. For example, my soundcard does not use values 71, 74, 76, 79 in the 7x range. If I try to use any of these values it uses the first lower value close to it. Even using amixer (a non-KDE program) has a similar effect (amixer uses the first higher value instead of the first lower): amixer -c 0 -- sset Master 71% So I think that is not a KDE bug, it is the way the sound card (or alsa) works. Those values are in percentage, probably internally the sound card volume uses a different scale. When converting from percentage to that scale causes those drifts. That makes sense :) I've tried with alsamixer too and the behavior is the same, definitely not a KDE bug. It's kind of sad tho, I would expect a more fine-grained resolution. |