Implement rateMultiplierCmd

This commit is contained in:
Iliyas Jorio 2021-01-11 22:07:53 +01:00
parent 2a48c00ed2
commit 1f664c6441
1 changed files with 5 additions and 0 deletions

View File

@ -523,6 +523,11 @@ OSErr SndDoImmediate(SndChannelPtr chan, const SndCommand* cmd)
impl.ApplyPitch();
break;
case rateMultiplierCmd:
impl.pitchMult = cmd->param2 / 65536.0;
impl.ApplyPitch();
break;
case pommeSetLoopCmd:
impl.source.SetLoop(cmd->param1);
break;