projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d291ce8
)
Apply fader-based gain calculations to the current gain, not 0dB.
author
Carl Hetherington
<cth@carlh.net>
Sat, 25 Jan 2020 22:26:31 +0000
(23:26 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 25 Jan 2020 22:26:31 +0000
(23:26 +0100)
src/wx/audio_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_panel.cc
b/src/wx/audio_panel.cc
index d066c11e25dd55aa7eae73d24f4e8b9f121b0bb0..5523d25393088196d88655581121b43f740c6522 100644
(file)
--- a/
src/wx/audio_panel.cc
+++ b/
src/wx/audio_panel.cc
@@
-258,7
+258,7
@@
AudioPanel::gain_calculate_button_clicked ()
return;
}
- _gain->wrapped()->SetValue
(
*c);
+ _gain->wrapped()->SetValue
(_gain->wrapped()->GetValue() +
*c);
/* This appears to be necessary, as the change is not signalled,
I think.