commit 903aba9451f3dcbf0136ee3de459f89326fc045b
parent 8936858b20df7a3e253a70410a87d124afee6117
Author: paulnasca <paulnasca>
Date: Wed, 28 Jul 2004 16:26:32 +0000
*** empty log message ***
Diffstat:
5 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -660,4 +660,6 @@
21 Iul 2004 - Corectata o mica eroare la Bank si alte erori
26 Iul 2004 - Acum este folosita biblioteca mxml-2
- Corectata o eroare care facea ca sample-ul la PADnote sa nu fie ales in functie de frecventa reala de baza (cu detune)
- - Mutat functiile de waveshaping in Distorsion.C/.h
+ - Mutat functiile de waveshaping in Distorsion.C/.h
+27 Iul 2004 - Corectata o eroare foarte suparatoare care bloca uneori calculatorul
+
diff --git a/banks/Pads/0130-Metal Sound 2.xiz b/banks/Pads/0130-Metal Sound 2.xiz
Binary files differ.
diff --git a/src/Misc/Bank.C b/src/Misc/Bank.C
@@ -360,6 +360,7 @@ void Bank::rescanforbanks(){
int dirlistlen=strlen(dirlist);
char *currentrootdir=new char [dirlistlen];
while (start<dirlistlen){
+ end=start;
for (int i=start+1;i<dirlistlen;i++){
end=i;
if (dirlist[i]<32) break;
diff --git a/src/UI/ConfigUI.fl b/src/UI/ConfigUI.fl
@@ -30,7 +30,8 @@ decl {\#include "../Misc/Dump.h"} {public
decl {extern Dump dump;} {public
}
-class ConfigUI {} {
+class ConfigUI {open
+} {
Function {make_window()} {} {
Fl_Window configwindow {
label {ZynAddSubFX Settings}
@@ -233,7 +234,7 @@ midiinputnamebox->label(config.winmididevices[config.cfg.WindowsMidiInId].name);
}
Fl_Choice {} {
label {PADsynth Interpolation}
- callback {config.cfg.Interpolation=(int) o->value();} selected
+ callback {config.cfg.Interpolation=(int) o->value();}
xywh {175 105 75 15} down_box BORDER_BOX labelsize 11 textsize 12
code0 {o->value(config.cfg.Interpolation);}
} {
@@ -317,18 +318,20 @@ char *dirlist=config.cfg.bankRootDirList;
int dirlistlen=strlen(dirlist);
char *currentrootdir=new char [dirlistlen];
while (start<dirlistlen){
+ end=start;
for (int i=start+1;i<dirlistlen;i++){
- if (dirlist[i]<32) break;
end=i;
+ if (dirlist[i]<32) break;
};
- snprintf(currentrootdir,end-start+2,"%s",&dirlist[start]);
+ snprintf(currentrootdir,end-start+1,"%s",&dirlist[start]);
//a root director was found
- rootsbrowse->add(currentrootdir);
+ if (strlen(currentrootdir)>2) rootsbrowse->add(currentrootdir);
- start=end+2;
+ start=end+1;
};
-delete(currentrootdir);} {}
+delete(currentrootdir);} {selected
+ }
}
Function {writebankcfg()} {} {
code {char *str=config.cfg.bankRootDirList;
diff --git a/src/UI/EffUI.fl b/src/UI/EffUI.fl
@@ -167,11 +167,13 @@ effphaserwindow->hide();delete (effphaserwindow);
effalienwahwindow->hide();delete (effalienwahwindow);
effdistorsionwindow->hide();delete (effdistorsionwindow);
effeqwindow->hide();delete (effeqwindow);
+effdynamicfilterwindow->hide();delete (effdynamicfilterwindow);
if (filterwindow!=NULL){
filterwindow->hide();
delete(filterwindow);
-};} {}
+};} {selected
+ }
}
Function {make_null_window()} {} {
Fl_Window effnullwindow {
@@ -1259,8 +1261,7 @@ effdynamicfilterwindow->position(px,py);
refresh(eff);} {}
}
- Function {refresh(EffectMgr *eff_)} {open
- } {
+ Function {refresh(EffectMgr *eff_)} {} {
code {eff=eff_;
this->hide();
@@ -1407,8 +1408,7 @@ switch(eff->geteffect()){
break;
};
-this->show();} {selected
- }
+this->show();} {}
}
decl {EffectMgr *eff;} {}
decl {int eqband;} {}