aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/openal/util/SimpleSineSynth.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/jogamp/openal/util/SimpleSineSynth.java b/src/java/com/jogamp/openal/util/SimpleSineSynth.java
index c3befe6..103353a 100644
--- a/src/java/com/jogamp/openal/util/SimpleSineSynth.java
+++ b/src/java/com/jogamp/openal/util/SimpleSineSynth.java
@@ -120,6 +120,8 @@ public final class SimpleSineSynth {
if( null != streamWorker ) {
streamWorker.doStop();
streamWorker = null;
+ } else {
+ audioSink.destroy();
}
}
}