diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/README.md | 2 | ||||
-rw-r--r-- | android/com/jsyn/devices/android/AndroidAudioForJSyn.java | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/android/README.md b/android/README.md new file mode 100644 index 0000000..95a6a56 --- /dev/null +++ b/android/README.md @@ -0,0 +1,2 @@ +I'm not quite sure where to place this file. This has Android dependencies and from what I can tell was previously floating in this unrelated folder named `android`. From what I can tell, the intent is to place this class into your Android project when using it. + 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, |