Skip to content

Commit d0c02a9

Browse files
committed
set loop to fix disappearing audio
1 parent 147bf4f commit d0c02a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class Synth : public sf::SoundStream {
152152
play_py = 0.0;
153153

154154
initialize(2, sample_rate);
155+
setLoop(true);
155156
}
156157

157158
void SetPoint(double x, double y) {

0 commit comments

Comments
 (0)