diff options
Diffstat (limited to 'muse/synti/deicsonze/deicsonzegui.cpp')
-rw-r--r-- | muse/synti/deicsonze/deicsonzegui.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/muse/synti/deicsonze/deicsonzegui.cpp b/muse/synti/deicsonze/deicsonzegui.cpp index 9d614008..ad2508d5 100644 --- a/muse/synti/deicsonze/deicsonzegui.cpp +++ b/muse/synti/deicsonze/deicsonzegui.cpp @@ -385,7 +385,7 @@ DeicsOnzeGui::DeicsOnzeGui(DeicsOnze* deicsOnze) colorFrame->setPalette(p); //update maaster volume - updateMasterVolume(INITMASTERVOL); + //updateMasterVolume(INITMASTERVOL); //update Quick edit updateQuickEdit(); @@ -3022,8 +3022,10 @@ void DeicsOnzeGui::updateNbrVoices(int val) { nbrVoicesSpinBox->blockSignals(false); } void DeicsOnzeGui::updateMasterVolume(int val) { + double d = (double)val/(double)MAXMASTERVOLUME; + //printf("D = %d, %f\n", val, d); masterVolKnob->blockSignals(true); - masterVolKnob->setValue(((double)val)/((double)MAXMASTERVOLUME)); + masterVolKnob->setValue(d); masterVolKnob->blockSignals(false); } //void DeicsOnzeGui::updateMidiInCh(int val) { |