diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-10-23 14:12:29 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-10-23 14:12:29 -0400 |
| commit | 628e7cb0838c981b63b814748ac10768c4643eb1 (patch) | |
| tree | ca8406a870d4d0493fb3e94d8053262bea21425c /Source/Core/AudioCommon/OpenSLESStream.cpp | |
| parent | 2f48d71ddfed60930a7bb7b347805d3047c81f54 (diff) | |
| parent | 5204acd5eedad4742ca1fdce17e317269fc01bd1 (diff) | |
Merge pull request #1376 from Sonicadvance1/OpenSLES-samplerate-fix
Fixes OpenSLES's sample rate.
Diffstat (limited to 'Source/Core/AudioCommon/OpenSLESStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenSLESStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/OpenSLESStream.cpp b/Source/Core/AudioCommon/OpenSLESStream.cpp index e4e11652e4..c53af9aff5 100644 --- a/Source/Core/AudioCommon/OpenSLESStream.cpp +++ b/Source/Core/AudioCommon/OpenSLESStream.cpp @@ -69,7 +69,7 @@ bool OpenSLESStream::Start() SLDataFormat_PCM format_pcm = { SL_DATAFORMAT_PCM, 2, - SL_SAMPLINGRATE_44_1, + m_mixer->GetSampleRate() * 1000, SL_PCMSAMPLEFORMAT_FIXED_16, SL_PCMSAMPLEFORMAT_FIXED_16, SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT, |
