Commit 7f852128 authored by Alexandre Savard's avatar Alexandre Savard

Clear off some debugging messages

parent ac9bc3e8
......@@ -115,7 +115,6 @@ void
Tone::genSin(SFLDataFormat* buffer, int frequency1, int frequency2, int nb)
{
_debug("Tone::genSin :: called!!!!!!!!!!!!!!!!!! %i \n",nb);
double pi2 = 6.28318520;
double var1 = pi2 * (double)frequency1 / (double)_sampleRate;
double var2 = pi2 * (double)frequency2 / (double)_sampleRate;
......
......@@ -45,8 +45,6 @@ ToneGenerator::~ToneGenerator (void) {
void
ToneGenerator::generateSin (int lowerfreq, int higherfreq, int16* ptr, int len) const {
double var1, var2;
_debug("when is this called");
var1 = (double)2 * (double)M_PI * (double)higherfreq / (double)_sampleRate;
var2 = (double)2 * (double)M_PI * (double)lowerfreq / (double)_sampleRate;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment