diff --git a/android/src/main/java/com/audiocontext/nodes/oscillator/OscillatorNode.kt b/android/src/main/java/com/audiocontext/nodes/oscillator/OscillatorNode.kt index 6324d2bc..02eb5261 100644 --- a/android/src/main/java/com/audiocontext/nodes/oscillator/OscillatorNode.kt +++ b/android/src/main/java/com/audiocontext/nodes/oscillator/OscillatorNode.kt @@ -75,8 +75,6 @@ class OscillatorNode(context: BaseAudioContext) : AudioScheduledSourceNode(conte Log.e("OscillatorNode", "Thread sleep error: ${e.message}") } - Log.e("OscillatorNode", "Start playing") - isPlaying = true audioTrack.play() generateSound() @@ -95,8 +93,6 @@ class OscillatorNode(context: BaseAudioContext) : AudioScheduledSourceNode(conte Log.e("OscillatorNode", "Thread sleep error: ${e.message}") } - Log.e("OscillatorNode", "Stop playing") - isPlaying = false audioTrack.stop() playbackThread?.join() diff --git a/cpp/AudioContext/AudioContextWrapper.h b/cpp/AudioContext/AudioContextWrapper.h index be62fd5d..1efbad7c 100644 --- a/cpp/AudioContext/AudioContextWrapper.h +++ b/cpp/AudioContext/AudioContextWrapper.h @@ -1,6 +1,5 @@ #pragma once -#include #include #include "OscillatorNodeWrapper.h" #include "AudioDestinationNodeWrapper.h" diff --git a/cpp/AudioDestinationNode/AudioDestinationNodeWrapper.h b/cpp/AudioDestinationNode/AudioDestinationNodeWrapper.h index d62395f6..d74e032c 100644 --- a/cpp/AudioDestinationNode/AudioDestinationNodeWrapper.h +++ b/cpp/AudioDestinationNode/AudioDestinationNodeWrapper.h @@ -1,6 +1,5 @@ #pragma once -#include #include #ifdef ANDROID diff --git a/cpp/OscillatorNode/OscillatorNodeWrapper.h b/cpp/OscillatorNode/OscillatorNodeWrapper.h index f4b38e48..39cfdc44 100644 --- a/cpp/OscillatorNode/OscillatorNodeWrapper.h +++ b/cpp/OscillatorNode/OscillatorNodeWrapper.h @@ -1,6 +1,5 @@ #pragma once -#include #include #include "AudioDestinationNodeWrapper.h"