aboutsummaryrefslogtreecommitdiffstats
path: root/android/com
diff options
context:
space:
mode:
authorRubbaBoy <[email protected]>2020-07-06 02:33:28 -0400
committerPhil Burk <[email protected]>2020-10-30 11:19:34 -0700
commit46888fae6eb7b1dd386f7af7d101ead99ae61981 (patch)
tree8969bbfd68d2fb5c0d8b86da49ec2eca230a72ab /android/com
parentc51e92e813dd481603de078f0778e1f75db2ab05 (diff)
Restructured project, added gradle, JUnit, logger, and more
Added Gradle (and removed ant), modernized testing via the JUnit framework, moved standalone examples from the tests directory to a separate module, removed sparsely used Java logger and replaced it with SLF4J. More work could be done, however this is a great start to greatly improving the health of the codebase.
Diffstat (limited to 'android/com')
-rw-r--r--android/com/jsyn/devices/android/AndroidAudioForJSyn.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/com/jsyn/devices/android/AndroidAudioForJSyn.java b/android/com/jsyn/devices/android/AndroidAudioForJSyn.java
index 3aba1e4..20bbb68 100644
--- a/android/com/jsyn/devices/android/AndroidAudioForJSyn.java
+++ b/android/com/jsyn/devices/android/AndroidAudioForJSyn.java
@@ -84,9 +84,9 @@ public class AndroidAudioForJSyn implements AudioDeviceManager {
minBufferSize = AudioTrack.getMinBufferSize(frameRate,
AudioFormat.CHANNEL_OUT_STEREO,
AudioFormat.ENCODING_PCM_FLOAT);
- System.out.println("Audio minBufferSize = " + minBufferSize);
+ LOGGER.debug("Audio minBufferSize = " + minBufferSize);
bufferSize = (3 * (minBufferSize / 2)) & ~3;
- System.out.println("Audio bufferSize = " + bufferSize);
+ LOGGER.debug("Audio bufferSize = " + bufferSize);
audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, frameRate,
AudioFormat.CHANNEL_OUT_STEREO,
AudioFormat.ENCODING_PCM_FLOAT, bufferSize,