Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-----------------------------------------------------------------------------
- void audioSetVoiceRate(int channel, int hz)
- //-----------------------------------------------------------------------------
- {
- Voice *v = channelMap[channel];
- if (v)
- {
- v->rate = (hz << PRECISION) / (mixingFrequency * oversampling);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement