public void SetUpdateProc(ModUpdateProc proc, int freq) { _playproc = proc; _mixamt = (uint)(_sampleRate / freq); }