From 46888fae6eb7b1dd386f7af7d101ead99ae61981 Mon Sep 17 00:00:00 2001 From: RubbaBoy Date: Mon, 6 Jul 2020 02:33:28 -0400 Subject: 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. --- android/com/jsyn/devices/android/AndroidAudioForJSyn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'android/com') 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, -- cgit v1.2.3