Merge pull request #1376 from Sonicadvance1/OpenSLES-samplerate-fix

Fixes OpenSLES's sample rate.
This commit is contained in:
Lioncash 2014-10-23 14:12:29 -04:00
commit 628e7cb083
1 changed files with 1 additions and 1 deletions

View File

@ -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,