summaryrefslogtreecommitdiffstats
path: root/src/sound.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-12-02 17:44:20 +0200
committergramanas <anastasis.gramm2@gmail.com>2023-12-02 17:44:20 +0200
commit89b515395310c4e84a84992d3f0bd11f8ded6d03 (patch)
tree7c8554dedd0e6736a0b7db5d5f2285fbd31fe3f9 /src/sound.c
parent4f7de09c753ece6f2099512522d489b0104a59a8 (diff)
downloadsynth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.gz
synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.bz2
synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.zip
gui is mine
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound.c b/src/sound.c
index aaffd13..57baa6b 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -42,6 +42,8 @@ init_sound(synth_t * synth, PaStreamCallback *streamCallback)
Pa_SetStreamFinishedCallback(synth->stream, &StreamFinished);
Pa_StartStream(synth->stream);
+
+ synth->sound_active = 1;
}
void