mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 13:45:44 +00:00
basic dump view
This commit is contained in:
@@ -1437,9 +1437,9 @@ public class XFLConverter {
|
||||
bits = 18;
|
||||
}
|
||||
if (soundFormat == SoundFormat.FORMAT_ADPCM) {
|
||||
SWFInputStream sis = new SWFInputStream(swf, soundData);
|
||||
exportFormat = "wav";
|
||||
try {
|
||||
SWFInputStream sis = new SWFInputStream(swf, soundData);
|
||||
int adpcmCodeSize = (int) sis.readUB(2);
|
||||
bits = 2 + adpcmCodeSize;
|
||||
} catch (IOException ex) {
|
||||
@@ -1453,7 +1453,7 @@ public class XFLConverter {
|
||||
}
|
||||
format += 4; //quality best
|
||||
try {
|
||||
MP3SOUNDDATA s = new MP3SOUNDDATA(swf, soundData, false);
|
||||
MP3SOUNDDATA s = new MP3SOUNDDATA(new SWFInputStream(swf, soundData), false);
|
||||
//sis.readSI16();
|
||||
//MP3FRAME frame = new MP3FRAME(sis);
|
||||
MP3FRAME frame = s.frames.get(0);
|
||||
|
||||
Reference in New Issue
Block a user