diff options
| author | Michael M <mchtly@gmail.com> | 2017-10-21 12:37:39 -0700 |
|---|---|---|
| committer | Michael M <mchtly@gmail.com> | 2017-10-21 16:28:04 -0700 |
| commit | b031d3316c64718b383e6339c4a6c12176bff4cb (patch) | |
| tree | 3c4b0e19c9539220c4850ce6e8e63107edf138a9 /Source/Core/AudioCommon/OpenALStream.cpp | |
| parent | d6985fc3e89a6d79a1476c6a0ed323c7b50791fe (diff) | |
SoundStream: rename Clear(mute) to SetRunning(running)
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index ed834fdac9..ed295ff18c 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -161,15 +161,15 @@ void OpenALStream::Update() m_sound_sync_event.Set(); } -void OpenALStream::Clear(bool mute) +void OpenALStream::SetRunning(bool running) { - if (mute) + if (running) { - palSourceStop(m_source); + palSourcePlay(m_source); } else { - palSourcePlay(m_source); + palSourceStop(m_source); } } |
