zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 105d1fee07517401f96d4312f1e77ac8c8782c22
parent 489a119a62ba15a862a7914cc392cbf80ac1d6fc
Author: paulnasca <paulnasca>
Date:   Sat, 27 Aug 2005 13:24:39 +0000

*** empty log message ***

Diffstat:
MChangeLog | 2++
Msrc/Misc/Dump.C | 4+---
Msrc/main.C | 1+
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -793,3 +793,4 @@ 28 Apr 2005 - Corectata o eroare care facea ca uneori sa fie frecventa prea mare la LFO daca era folosit random - Nu mai afiseaza optionea -A in help daca nu este compilat si OSS si JACK 29 Mai 2005 - Corectata o eroare care facea ca sa nu se tina minte ultimul bank +27 Aug 2005 - Corectata o eroare care facea ca sa nu mearga functia Dump (se initializa inainte de citirea configurarilor) +\ No newline at end of file diff --git a/src/Misc/Dump.C b/src/Misc/Dump.C @@ -31,7 +31,6 @@ Dump::Dump(){ tick=0; k=0; keyspressed=0; - startnow(); }; Dump::~Dump(){ @@ -44,11 +43,10 @@ Dump::~Dump(){ void Dump::startnow(){ if (file!=NULL) return;//the file is already open - + if (config.cfg.DumpNotesToFile!=0){ if (config.cfg.DumpAppend!=0) file=fopen(config.cfg.DumpFile,"a"); else file=fopen(config.cfg.DumpFile,"w"); - if (file==NULL) return; if (config.cfg.DumpAppend!=0) fprintf(file,"%s","#************************************\n"); diff --git a/src/main.C b/src/main.C @@ -346,6 +346,7 @@ void exitprogram(){ #ifndef VSTAUDIOOUT int main(int argc, char *argv[]){ config.init(); + dump.startnow(); int noui=0; #ifdef JACKAUDIOOUT usejackit=true;//use jack by default