diff options
| author | lioncash <mathew1900@hotmail.com> | 2013-03-19 21:51:12 -0400 |
|---|---|---|
| committer | lioncash <mathew1900@hotmail.com> | 2013-03-19 21:51:12 -0400 |
| commit | edd9d0e0ef6898a0528ac6389e93e9fca6132ff6 (patch) | |
| tree | 9e3884aa1b3db3499806995adf6627d05308b8da /Source/Core/AudioCommon/Src/AOSoundStream.cpp | |
| parent | 0e3d8e2e9f1b3eab593b09be986c4ff12a0221e2 (diff) | |
Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.
Not planning to touch Core since it's the most actively changed part of the project.
Diffstat (limited to 'Source/Core/AudioCommon/Src/AOSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/AOSoundStream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/Src/AOSoundStream.cpp b/Source/Core/AudioCommon/Src/AOSoundStream.cpp index 99ae2e661c..0ec6451666 100644 --- a/Source/Core/AudioCommon/Src/AOSoundStream.cpp +++ b/Source/Core/AudioCommon/Src/AOSoundStream.cpp @@ -34,7 +34,7 @@ void AOSound::SoundLoop() format.channels = 2; format.rate = m_mixer->GetSampleRate(); format.byte_format = AO_FMT_LITTLE; - + device = ao_open_live(default_driver, &format, NULL /* no options */); if (!device) { @@ -49,7 +49,7 @@ void AOSound::SoundLoop() while (!threadData) { m_mixer->Mix(realtimeBuffer, numBytesToRender >> 2); - + { std::lock_guard<std::mutex> lk(soundCriticalSection); ao_play(device, (char*)realtimeBuffer, numBytesToRender); @@ -62,7 +62,7 @@ void AOSound::SoundLoop() bool AOSound::Start() { memset(realtimeBuffer, 0, sizeof(realtimeBuffer)); - + thread = std::thread(std::mem_fun(&AOSound::SoundLoop), this); return true; } |
