diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2021-08-07 22:02:10 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2021-08-08 00:14:49 +0100 |
| commit | d14b9a73b2f69377a80a14b5561a26e28dcf42b3 (patch) | |
| tree | 9815c8f561115a705ee1661348a73269c893d47b /Source/Core/AudioCommon/OpenALStream.cpp | |
| parent | c2d396526b57a0325fa43fd0a3fe39870c018645 (diff) | |
AudioCommon: get rid of Update(), it never does anything
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index 96b2a5d628..b2e61dae98 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -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) |
