removing unused and failed opus impl attempts

This commit is contained in:
minjaesong
2018-12-02 22:45:08 +09:00
parent 158df1cac0
commit 9282aecd0f
7 changed files with 25 additions and 80 deletions

View File

@@ -1,14 +0,0 @@
package net.torvald.gdx.backends.lwjgl.audio
import com.badlogic.gdx.backends.lwjgl.audio.OggInputStream
import com.badlogic.gdx.backends.lwjgl.audio.OpenALAudio
import com.badlogic.gdx.backends.lwjgl.audio.OpenALMusic
import com.badlogic.gdx.backends.lwjgl.audio.OpenALSound
import com.badlogic.gdx.files.FileHandle
import com.badlogic.gdx.utils.StreamUtils
import java.io.ByteArrayOutputStream
/**
* Created by minjaesong on 2017-06-26.
*/

View File

@@ -1,60 +0,0 @@
package net.torvald.gdx.backends.lwjgl.audio;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by minjaesong on 2017-06-26.
*/
public class OpusInputStream extends InputStream {
public OpusInputStream() {
super();
}
@Override
public int read(@NotNull byte[] b) throws IOException {
return super.read(b);
}
@Override
public int read(@NotNull byte[] b, int off, int len) throws IOException {
return super.read(b, off, len);
}
@Override
public long skip(long n) throws IOException {
return super.skip(n);
}
@Override
public int available() throws IOException {
return super.available();
}
@Override
public void close() throws IOException {
super.close();
}
@Override
public synchronized void mark(int readlimit) {
super.mark(readlimit);
}
@Override
public synchronized void reset() throws IOException {
super.reset();
}
@Override
public boolean markSupported() {
return super.markSupported();
}
@Override
public int read() throws IOException {
return 0;
}
}

View File

@@ -1,6 +1,7 @@
package net.torvald.terrarum.tests
import net.torvald.terrarum.modulebasegame.gameworld.WorldTime
//import org.junit.Test
/**
* Created by minjaesong on 2018-12-02.
@@ -11,10 +12,26 @@ class TestWorldTime {
//@Test
fun testEndOfYear() {
repeat(3) {
println(time.getShortTime())
repeat(5) {
println(time.getFormattedTime())
time.addTime(1)
}
println()
time.addTime(86400 - 5)
repeat(5) {
println(time.getFormattedTime())
time.addTime(1)
}
}
}
fun main(args: Array<String>) {
TestWorldTime().testEndOfYear()
}