parent
ba49572ffb
commit
3d61e202b4
|
@ -635,21 +635,21 @@ public class AudioExtractor {
|
||||||
type = "Backward";
|
type = "Backward";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
type = "Unknown (" + loopType + ")";
|
type = "Unknown";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
type += " loop type";
|
type += " (" + loopType + ") loop type";
|
||||||
System.out.println(type);
|
System.out.println(type);
|
||||||
|
|
||||||
file.seek(loopOffset + 0x08);
|
file.seek(loopOffset + 0x08);
|
||||||
file.read(bytes);
|
file.read(bytes);
|
||||||
int loopStart = littleEndianToInt(bytes);
|
int loopStart = littleEndianToInt(bytes);
|
||||||
System.out.println(formatAddress(loopOffset + 0x08, file.length()) + ":\tSample # " + loopStart + " loop start");
|
System.out.println(formatAddress(loopOffset + 0x08, file.length()) + ":\tLoop start @ sample " + loopStart);
|
||||||
|
|
||||||
file.seek(loopOffset + 0x0C);
|
file.seek(loopOffset + 0x0C);
|
||||||
file.read(bytes);
|
file.read(bytes);
|
||||||
int loopEnd = littleEndianToInt(bytes);
|
int loopEnd = littleEndianToInt(bytes);
|
||||||
System.out.println(formatAddress(loopOffset + 0x08, file.length()) + ":\tSample # " + loopEnd + " loop end");
|
System.out.println(formatAddress(loopOffset + 0x08, file.length()) + ":\tLoop end @ sample " + loopEnd);
|
||||||
|
|
||||||
parseField(file, loopOffset + 0x10, 4, " loop fraction");
|
parseField(file, loopOffset + 0x10, 4, " loop fraction");
|
||||||
parseField(file, loopOffset + 0x14, 4, " repeat count");
|
parseField(file, loopOffset + 0x14, 4, " repeat count");
|
||||||
|
|
Loading…
Reference in New Issue