mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 23:09:02 +00:00
Changed: Turned off pitch change in stream ogg vorbis sample
This commit is contained in:
parent
b02784f55f
commit
e41f5da96b
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue