Bug 300783 - KMix changes playback and capture together with mouse wheel or keyboard shortcuts
Summary: KMix changes playback and capture together with mouse wheel or keyboard short...
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 20:59 UTC by Gerion
Modified: 2013-02-11 23:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.11
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerion 2012-05-28 20:59:51 UTC
I use kmix direcly with ALSA and set the default channel to PCM. If I move the volume slider or press the volume buttons, both the playback and recording PCM channels in alsamixer change the volume. This is really annoying if you use your mic in an voip-session and make louder and your dialog partner hears himself because your sound output is piped into master recording device.

In Kmix there are both slider displayed and only the playback slider moves, but this have not the same effect in ALSA. The recording slider in Kmix is not movable.

I use Gentoo with KDE 4.8.3 and have an X-Fi-Soundcard (driver are compiled in the kernel, this is an 3.3.4 kernel).

Reproducible: Always

Steps to Reproduce:
1. Press the loader button or move the playback slider.
Actual Results:  
Recording und playback volume change.

Expected Results:  
Only playback volume should change.
Comment 1 Christian Esken 2012-10-03 23:13:40 UTC
Questions:
-  What is a "loader button"?
-  How do you move the volume slider (mouse wheel, drag slider, ...)?
- Where do you move the slider (Main window, Dock Icon, Dock Popup)?

PS: You can open a new Tab that only shows playback controls. Then you have no problem. Does that solve your expectation that only the playback volume should change?
Comment 2 Gerion 2012-10-04 11:30:18 UTC
Sorry for my bad english.

With the "loader button" I mean the keys on the keyboard, that decrease or increase the volume.
I drag the volume slider in the main window.

I could not try out your hint with the new Tab, because the PC is in repair at the moment.
Comment 3 Christian Esken 2012-10-07 20:46:07 UTC
Acknowledged. It should be fixed.
1) Volume keys
2) Mousewheel
3) Dragging slider should already work (unless running unstable/trunk)
Comment 4 Christian Esken 2013-02-04 22:31:08 UTC
Git commit 207fa53763d83e8031be622c9006e41b97195d48 by Christian Esken.
Committed on 04/02/2013 at 23:30.
Pushed by esken into branch 'master'.

Use a fixed volume step of n% instead of honoring mouse delta (which is more appropriate for text documents). Also Mouse Wheel now only affects EITHER playback OR capture
Related: bug 313579

M  +1    -1    apps/kmix.cpp
M  +0    -1    core/mixdevice.cpp
M  +14   -14   core/mixer.cpp
M  +0    -3    core/mixer.h
M  +29   -8    core/volume.cpp
M  +6    -1    core/volume.h
M  +9    -9    gui/kmixdockwidget.cpp
M  +9    -7    gui/ksmallslider.cpp
M  +67   -46   gui/mdwslider.cpp
M  +1    -3    gui/mdwslider.h

http://commits.kde.org/kmix/207fa53763d83e8031be622c9006e41b97195d48
Comment 5 Christian Esken 2013-02-04 23:31:09 UTC
Git commit ff429cc9fd0889e632a7916b263bed4e4a64d4e1 by Christian Esken.
Committed on 05/02/2013 at 00:30.
Pushed by esken into branch 'master'.

Global Keyboard Shortcuts XF86Audio* now only affect EITHER playback OR capture

M  +4    -6    apps/kmix.cpp
M  +48   -0    core/mixdevice.cpp
M  +1    -0    core/mixdevice.h
M  +5    -41   gui/mdwslider.cpp

http://commits.kde.org/kmix/ff429cc9fd0889e632a7916b263bed4e4a64d4e1