Removed debug code

This commit is contained in:
Souryo 2014-06-23 14:18:32 -04:00
parent b5b9a1ca53
commit 94bfda12b4

View file

@ -174,7 +174,7 @@ void SoundManager::Reset()
void SoundManager::PlayBuffer(int16_t *soundBuffer, uint32_t soundBufferSize)
{
static int32_t byteLatency = _latency * (APU::BitsPerSample / 8);
static const int32_t byteLatency = _latency * (APU::BitsPerSample / 8);
DWORD status;
_secondaryBuffer->GetStatus(&status);
@ -208,11 +208,5 @@ void SoundManager::PlayBuffer(int16_t *soundBuffer, uint32_t soundBufferSize)
//Normal playback
_secondaryBuffer->SetFrequency(44100);
}
static int counter = 0;
counter++;
if(counter % 5 == 0) {
std::cout << latencyGap << std::endl;
}
}
}