daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest May 19th, 2017 36 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //-----------------------------------------------------------------------------
  2. void audioSetVoiceRate(int channel, int hz)
  3. //-----------------------------------------------------------------------------
  4. {
  5.     Voice *v = channelMap[channel];
  6.     if (v)
  7.     {
  8.          v->rate = (hz << PRECISION) / (mixingFrequency * oversampling);
  9.     }
  10. }
RAW Paste Data
Top