Skip to content

Commit

Permalink
set loop to fix disappearing audio
Browse files Browse the repository at this point in the history
  • Loading branch information
nivkner committed Mar 7, 2021
1 parent 147bf4f commit d0c02a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class Synth : public sf::SoundStream {
play_py = 0.0;

initialize(2, sample_rate);
setLoop(true);
}

void SetPoint(double x, double y) {
Expand Down

0 comments on commit d0c02a9

Please sign in to comment.