Add slew option to pitch-update function

This commit is contained in:
Jack Andersen
2016-05-16 17:46:03 -10:00
parent eea45ebcbe
commit ceff1934c1
3 changed files with 11 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ struct IAudioVoice
virtual void setStereoMatrixCoefficients(const float coefs[8][2])=0;
/** Called by client to dynamically adjust the pitch of voices with dynamic pitch enabled */
virtual void setPitchRatio(double ratio)=0;
virtual void setPitchRatio(double ratio, bool slew)=0;
/** Instructs platform to begin consuming sample data; invoking callback as needed */
virtual void start()=0;