Mercurial > audlegacy
comparison src/libSAD/noicegen.c @ 4757:bb0638143fc8
move libSAD's DEBUG_MSG out of global scope, as it breaks timidity and possible something else
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Thu, 07 Aug 2008 12:29:24 +0300 |
parents | b0ca963fd965 |
children |
comparison
equal
deleted
inserted
replaced
4754:b136f202ebfa | 4757:bb0638143fc8 |
---|---|
14 | 14 |
15 #include "SFMT.h" | 15 #include "SFMT.h" |
16 #include "SFMT.c" | 16 #include "SFMT.c" |
17 | 17 |
18 #include "noicegen.h" | 18 #include "noicegen.h" |
19 | |
20 #include "debug.h" | |
19 | 21 |
20 int triangular_dither_noise(int nbits) | 22 int triangular_dither_noise(int nbits) |
21 { | 23 { |
22 // parameter nbits : the peak-to-peak amplitude desired (in bits) | 24 // parameter nbits : the peak-to-peak amplitude desired (in bits) |
23 // use with nbits set to 2 + nber of bits to be trimmed. | 25 // use with nbits set to 2 + nber of bits to be trimmed. |