Removed win32 debugging code.

This commit is contained in:
casey langen 2016-11-28 23:32:10 -08:00
parent 232d2c4b0d
commit 793bb9102b

View File

@ -359,13 +359,7 @@ bool Player::Exited() {
return (this->state == Player::Quit);
}
#include <Windows.h>
static inline bool performFft(IBuffer* buffer, FftContext* fft, float* output, int outputSize) {
LARGE_INTEGER start, end, freq;
QueryPerformanceFrequency(&freq);
QueryPerformanceCounter(&start);
long samples = buffer->Samples();
int channels = buffer->Channels();
long samplesPerChannel = samples / channels;
@ -403,9 +397,6 @@ static inline bool performFft(IBuffer* buffer, FftContext* fft, float* output, i
offset += FFT_BUFFER_SIZE;
}
QueryPerformanceCounter(&end);
double interval = static_cast<double>(end.QuadPart - start.QuadPart) / freq.QuadPart;
return true;
}