summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/Src/AlsaSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/AlsaSoundStream.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
index 048509314e..39221c00ea 100644
--- a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
@@ -119,9 +119,10 @@ bool AlsaSound::AlsaInit()
return false;
}
- // This is weird - if I do pass in a pointer to a variable, like the header wants me to,
- // the sample rate goes mad. It seems that the alsa header doesn't match the library we link in :(
- // If anyone know why, i'd appreciate if you let me know - ector.
+ // This is weird - if I do pass in a pointer to a variable, like the header
+ // wants me to, the sample rate goes mad. It seems that the alsa header
+ // doesn't match the library we link in :( If anyone know why, i'd
+ // appreciate if you let me know - ector.
err = snd_pcm_hw_params_set_rate_near(handle, hwparams, (unsigned int *)sample_rate, &dir);
if (err < 0)
{