mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 11:02:26 +00:00
FLA export - sounds
Wav export (for ADPCM sounds)
This commit is contained in:
@@ -181,7 +181,7 @@ public class SWFInputStream extends InputStream {
|
||||
return bytesRead;
|
||||
}
|
||||
|
||||
private void alignByte() {
|
||||
public void alignByte() {
|
||||
bitPos = 0;
|
||||
}
|
||||
private int lastPercent = -1;
|
||||
@@ -2974,4 +2974,11 @@ public class SWFInputStream extends InputStream {
|
||||
public int available() throws IOException {
|
||||
return is.available();
|
||||
}
|
||||
|
||||
public long availableBits() throws IOException {
|
||||
if (bitPos > 0) {
|
||||
return available() * 8 + (8 - bitPos);
|
||||
}
|
||||
return available() * 8;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user