Skip to content

Commit

Permalink
Merge pull request #61 from iBug/master
Browse files Browse the repository at this point in the history
Fix logical error
  • Loading branch information
markondej authored Nov 22, 2017
2 parents c6083ec + e24b61c commit 4b9a19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void Transmitter::play(string filename, double frequency, bool loop)
if (loop && !forceStop) {
frameOffset = 0;
restart = true;
if (reader->setFrameOffset(0)) {
if (!reader->setFrameOffset(0)) {
break;
}
frames = reader->getFrames(bufferFrames, forceStop);
Expand Down

0 comments on commit 4b9a19e

Please sign in to comment.