diff --git a/toonz/sources/common/tsound/tsop.cpp b/toonz/sources/common/tsound/tsop.cpp index 41bdebe..f3a3678 100644 --- a/toonz/sources/common/tsound/tsop.cpp +++ b/toonz/sources/common/tsound/tsop.cpp @@ -967,7 +967,7 @@ TSoundTrackP TSop::gate(TSoundTrackP src, double threshold, double holdTime, //============================================================================== -TSoundTrackP TSop::timeStrech(TSoundTrackP src, double ratio) { +TSoundTrackP TSop::timeStretch(TSoundTrackP src, double ratio) { TINT32 sampleRate = (TINT32)(src->getSampleRate() * ratio); if (sampleRate > 100000) sampleRate = 100000; diff --git a/toonz/sources/include/tsop.h b/toonz/sources/include/tsop.h index 5fbfba3..ca2b777 100644 --- a/toonz/sources/include/tsop.h +++ b/toonz/sources/include/tsop.h @@ -71,10 +71,10 @@ DVAPI void echo(TSoundTrackP &dst, const TSoundTrackP &src, double delayTime, double decayFactor, double extendTime); /*! - Streches the soundtrack src with the specified feature and + Stretches the soundtrack src with the specified feature and returns the obtained soundtrack */ -DVAPI TSoundTrackP timeStrech(TSoundTrackP src, double ratio); +DVAPI TSoundTrackP timeStretch(TSoundTrackP src, double ratio); /*! Do the mixing between the two soundtrack a1 and a2 must be inside [0.0,1.0]