mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Removed win32 debugging code.
This commit is contained in:
parent
232d2c4b0d
commit
793bb9102b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user