Removed debug code
This commit is contained in:
parent
b5b9a1ca53
commit
94bfda12b4
1 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue