Skip to content

Commit

Permalink
fix: fixed imports and removed useful logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Makowski committed Jul 19, 2024
1 parent 737879d commit ea2de9e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down
1 change: 0 additions & 1 deletion cpp/AudioContext/AudioContextWrapper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <jsi/jsi.h>
#include <memory>
#include "OscillatorNodeWrapper.h"
#include "AudioDestinationNodeWrapper.h"
Expand Down
1 change: 0 additions & 1 deletion cpp/AudioDestinationNode/AudioDestinationNodeWrapper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <jsi/jsi.h>
#include <memory>

#ifdef ANDROID
Expand Down
1 change: 0 additions & 1 deletion cpp/OscillatorNode/OscillatorNodeWrapper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <jsi/jsi.h>
#include <memory>
#include "AudioDestinationNodeWrapper.h"

Expand Down

0 comments on commit ea2de9e

Please sign in to comment.