mirror of
https://github.com/jorio/Pomme.git
synced 2025-02-17 07:32:11 +00:00
Implement rateMultiplierCmd
This commit is contained in:
parent
2a48c00ed2
commit
1f664c6441
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user