AudioCommon: get rid of Update(), it never does anything

This commit is contained in:
Tillmann Karras
2021-08-07 22:02:10 +01:00
parent c2d396526b
commit d14b9a73b2
8 changed files with 0 additions and 25 deletions

View File

@ -126,9 +126,6 @@ bool OpenALStream::Init()
OpenALStream::~OpenALStream()
{
m_run_thread.Clear();
// kick the thread if it's waiting
m_sound_sync_event.Set();
m_thread.join();
palSourceStop(m_source);
@ -155,11 +152,6 @@ void OpenALStream::SetVolume(int volume)
palSourcef(m_source, AL_GAIN, m_volume);
}
void OpenALStream::Update()
{
m_sound_sync_event.Set();
}
bool OpenALStream::SetRunning(bool running)
{
if (running)