diff options
author | Santiago Seifert <[email protected]> | 2022-08-04 19:54:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-04 11:54:06 -0700 |
commit | c059ebf933ae4c6eeb26da50e168db2322e4790f (patch) | |
tree | d1051969af629744e0f8c2a1c7043e458035fc35 /android/com | |
parent | e23733c71b02458b53cbaaf8e370d07be001c560 (diff) |
Remove LOGGER references and a '== Double.NaN' check (#113)
LOGGER is not imported, and Double.NaN doesn't follow
traditional '==' comparison rules.
Diffstat (limited to 'android/com')
-rw-r--r-- | android/com/jsyn/devices/android/AndroidAudioForJSyn.java | 4 |
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 20bbb68..2d17b0c 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); - LOGGER.debug("Audio minBufferSize = " + minBufferSize); + // LOGGER.debug("Audio minBufferSize = " + minBufferSize); bufferSize = (3 * (minBufferSize / 2)) & ~3; - LOGGER.debug("Audio bufferSize = " + bufferSize); + // LOGGER.debug("Audio bufferSize = " + bufferSize); audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, frameRate, AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_FLOAT, bufferSize, |