diff options
-rw-r--r-- | muse/muse/audioinput.cpp | 1 | ||||
-rw-r--r-- | muse/muse/auxplugin.cpp | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/muse/muse/audioinput.cpp b/muse/muse/audioinput.cpp index ef9ce7a2..93bf7b5c 100644 --- a/muse/muse/audioinput.cpp +++ b/muse/muse/audioinput.cpp @@ -32,7 +32,6 @@ AudioInput::AudioInput() { // set Default for Input Ports: _mute = true; -//TODO setVolume(0.0); for (int i = 0; i < MAX_CHANNELS; ++i) jackPorts[i] = 0; _channels = 0; diff --git a/muse/muse/auxplugin.cpp b/muse/muse/auxplugin.cpp index e313e630..c64c7cde 100644 --- a/muse/muse/auxplugin.cpp +++ b/muse/muse/auxplugin.cpp @@ -20,6 +20,7 @@ #include "globaldefs.h" #include "auxplugin.h" +#include "gconfig.h" AuxPlugin* auxPlugin; @@ -40,8 +41,8 @@ void AuxPlugin::range(int idx, double* min, double* max) const { switch(idx) { case 0: // volume - *min = -60.0; - *max = 10.0; + *min = pow(10.0f, config.minSlider * 0.05f); + *max = 2.0; break; case 1: // pan *min = -1.0; |