Lowered trace output of siggen

This commit is contained in:
Anne de Jong 2022-02-02 14:05:39 +01:00
parent c3b1c1ec4a
commit 5e26f4a026

View File

@ -366,7 +366,7 @@ void Siggen_free(Siggen* siggen) {
} }
static void Sinewave_genSignal(Siggen* siggen, SinewaveSpecific* sine, vd* samples) { static void Sinewave_genSignal(Siggen* siggen, SinewaveSpecific* sine, vd* samples) {
fsTRACE(14); fsTRACE(10);
assertvalidptr(sine); assertvalidptr(sine);
d ts = 1/siggen->fs; d ts = 1/siggen->fs;
d omg = sine->omg; d omg = sine->omg;
@ -377,7 +377,7 @@ static void Sinewave_genSignal(Siggen* siggen, SinewaveSpecific* sine, vd* sampl
curtime = curtime + ts; curtime = curtime + ts;
} }
sine->curtime = curtime; sine->curtime = curtime;
feTRACE(14); feTRACE(10);
} }
static void Periodic_genSignal(Siggen* siggen, PeriodicSpecific* sweep, vd* samples) { static void Periodic_genSignal(Siggen* siggen, PeriodicSpecific* sweep, vd* samples) {
@ -395,7 +395,7 @@ static void Periodic_genSignal(Siggen* siggen, PeriodicSpecific* sweep, vd* samp
static void noise_genSignal(Siggen* siggen, NoiseSpecific* wn, vd* samples) { static void noise_genSignal(Siggen* siggen, NoiseSpecific* wn, vd* samples) {
fsTRACE(15); fsTRACE(10);
d X; d X;
d S = wn->S; d S = wn->S;
d V1 = wn->V1; d V1 = wn->V1;
@ -433,8 +433,7 @@ static void noise_genSignal(Siggen* siggen, NoiseSpecific* wn, vd* samples) {
wn->V1 = V1; wn->V1 = V1;
wn->V2 = V2; wn->V2 = V2;
wn->phase = phase; wn->phase = phase;
feTRACE(15); feTRACE(10);
} }
void Siggen_genSignal(Siggen* siggen,vd* samples) { void Siggen_genSignal(Siggen* siggen,vd* samples) {