From 749889236d0d7608fe8162b26846744f236b5054 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Tue, 27 Jun 2017 00:04:07 -0700 Subject: [PATCH] OpenALStream: remove commented-out ALC_REFRESH code --- Source/Core/AudioCommon/OpenALStream.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index bce38d8811..21b2ae0acc 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -118,11 +118,6 @@ bool OpenALStream::Start() return false; } - // Used to determine an appropriate period size (2x period = total buffer size) - // ALCint refresh; - // palcGetIntegerv(pDevice, ALC_REFRESH, 1, &refresh); - // period_size_in_millisec = 1000 / refresh; - palcMakeContextCurrent(pContext); m_run_thread.Set(); thread = std::thread(&OpenALStream::SoundLoop, this);