From 793bb9102b9bba991cc28343eebc0474a70a6840 Mon Sep 17 00:00:00 2001 From: casey langen Date: Mon, 28 Nov 2016 23:32:10 -0800 Subject: [PATCH] Removed win32 debugging code. --- src/core/audio/Player.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/core/audio/Player.cpp b/src/core/audio/Player.cpp index 691d71b4d..887a7c651 100644 --- a/src/core/audio/Player.cpp +++ b/src/core/audio/Player.cpp @@ -359,13 +359,7 @@ bool Player::Exited() { return (this->state == Player::Quit); } -#include - 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(end.QuadPart - start.QuadPart) / freq.QuadPart; - return true; }