From 0600ced75a8cf0909cb42daf4a59ed43e4ce19f1 Mon Sep 17 00:00:00 2001 From: sakertooth Date: Tue, 26 Sep 2023 13:24:55 -0400 Subject: [PATCH] Remove ArrayVector comment --- src/core/Sample.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/Sample.cpp b/src/core/Sample.cpp index b07964cb6..dfdb751fc 100644 --- a/src/core/Sample.cpp +++ b/src/core/Sample.cpp @@ -122,7 +122,6 @@ bool Sample::play(sampleFrame* dst, PlaybackState* state, int numFrames, float d auto resampleRatio = static_cast(Engine::audioEngine()->processingSampleRate()) / m_buffer->sampleRate(); resampleRatio *= m_frequency / desiredFrequency; - // If there happens to be an upper limit on the frames per period, we could use ArrayVector here instead auto playBuffer = std::vector(numFrames / resampleRatio); if (!typeInfo::isEqual(resampleRatio, 1.0f)) {