using less memory when playing sounds

This commit is contained in:
honfika@gmail.com
2015-05-17 00:16:39 +02:00
parent 7d2c0122f7
commit 550327f82e
28 changed files with 4226 additions and 4136 deletions

View File

@@ -79,4 +79,8 @@ public class ByteArrayRange {
System.arraycopy(array, this.pos + pos, data, 0, length);
return data;
}
public ByteArrayRange getSubRange(int pos, int length) {
return new ByteArrayRange(array, this.pos + pos, length);
}
}