From 0e2b4d83068d9cef6b16025ea8ba649fb821045c Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 6 Jul 2010 16:16:07 +0000 Subject: 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 --- Source/Core/AudioCommon/Src/AlsaSoundStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/Src/AlsaSoundStream.cpp') 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) { -- cgit v1.2.3