more minor changes

This commit is contained in:
minjaesong
2017-06-11 18:01:03 +09:00
parent 687a7f901e
commit 2ca8c2c263
20 changed files with 115 additions and 22 deletions

View File

@@ -537,7 +537,7 @@ class TerrarumComputer(peripheralSlots: Int) {
}
private fun playTone(leninmilli: Int, freq: Double) {
audioData = makeAudioData(leninmilli, freq)
/*audioData = makeAudioData(leninmilli, freq)
if (!AL.isCreated()) AL.create()
@@ -577,7 +577,7 @@ class TerrarumComputer(peripheralSlots: Int) {
}
catch (e: ALException) {
AL10.alDeleteSources(beepSource)
}
}*/
}
// Custom implementation of Util.checkALError() that uses our custom exception.