Skip to content

Commit

Permalink
Assign playedSuccessfully to false
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Aug 9, 2023
1 parent c68873d commit 2f1d3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ bool Sample::play(sampleFrame* dst, PlaybackState* state, int numFrames, float d
const auto lock = std::shared_lock{m_mutex};
const auto resampleRatio
= m_frequency / desiredFrequency * Engine::audioEngine()->processingSampleRate() / m_buffer->sampleRate();
auto playedSuccessfully = 0;
auto playedSuccessfully = false;

switch (loopMode)
{
Expand Down

0 comments on commit 2f1d3f1

Please sign in to comment.