Skip to content

Commit

Permalink
!fixup did not bump size check to 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
Veratil committed Mar 28, 2024
1 parent e5d6af5 commit b7a311e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GigPlayer/GigPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ void GigInstrument::play( sampleFrame * _working_buffer )
samples = frames / freq_factor + Sample::s_interpolationMargins[m_interpolation];
}

if (samples > 512) { printf("ACK\n"); throw std::runtime_error("buffer size not large enough"); }
if (samples > 1024) { printf("ACK\n"); throw std::runtime_error("buffer size not large enough"); }
// Load this note's data
loadSample(sample, sampleData, samples);

Expand Down

0 comments on commit b7a311e

Please sign in to comment.