Changed: Turned off pitch change in stream ogg vorbis sample

--HG--
branch : sound_dev
This commit is contained in:
kaetemi 2012-04-11 11:55:30 +02:00
parent 1b88f2782b
commit 1d0052d228

View file

@ -94,7 +94,7 @@ static void initSample()
string sample = SAMPLE_OGG; string sample = SAMPLE_OGG;
s_AudioDecoder = IAudioDecoder::createAudioDecoder(sample, false, false); s_AudioDecoder = IAudioDecoder::createAudioDecoder(sample, false, false);
s_StreamSource->setFormat(s_AudioDecoder->getChannels(), s_AudioDecoder->getBitsPerSample(), (uint32)s_AudioDecoder->getSamplesPerSec()); s_StreamSource->setFormat(s_AudioDecoder->getChannels(), s_AudioDecoder->getBitsPerSample(), (uint32)s_AudioDecoder->getSamplesPerSec());
s_StreamSource->setPitch(2.0f); //s_StreamSource->setPitch(2.0f);
s_GroupController = s_AudioMixer->getGroupController("dialog"); s_GroupController = s_AudioMixer->getGroupController("dialog");
} }