mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-12 20:38:15 +00:00
Removed debug code
This commit is contained in:
parent
b5b9a1ca53
commit
94bfda12b4
@ -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…
x
Reference in New Issue
Block a user