diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-07-06 16:16:07 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-07-06 16:16:07 +0000 |
| commit | 0e2b4d83068d9cef6b16025ea8ba649fb821045c (patch) | |
| tree | bfe86f7bd747ff848e79f7b06f6444e8c9731332 /Source/Core/AudioCommon | |
| parent | e9e12ff100b0f92e6a6acb39d9d8574b75658428 (diff) | |
Implement proper thread naming on linux. This fixes a segmentation fault with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit.
Also take care of some more eols.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5843 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/Src/AlsaSoundStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp index b72a10b83c..8d4b3ff521 100644 --- a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp +++ b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp @@ -122,7 +122,7 @@ bool AlsaSound::AlsaInit() ERROR_LOG(AUDIO, "Sample format not available: %s\n", snd_strerror(err)); return false; } -
+ err = snd_pcm_hw_params_set_rate_near(handle, hwparams, &sample_rate, &dir); if (err < 0) { |
