mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 21:19:08 +00:00
Fixed: #2290 FLA export - not generating sound bin files causing sound compression setting to be ignored
This commit is contained in:
@@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2304] GFX files truncated
|
||||
- [#2297] AS1/2/3 direct editation - if..else clause broken when using continue/break
|
||||
- [#2291] AS1/2 Incorrect var keyword placement causing registers to compile wrong
|
||||
- [#2290] FLA export - not generating sound bin files causing sound compression setting to be ignored
|
||||
|
||||
## [21.0.5] - 2024-09-05
|
||||
### Fixed
|
||||
@@ -3563,6 +3564,7 @@ Major version of SWF to XML export changed to 2.
|
||||
[#2304]: https://www.free-decompiler.com/flash/issues/2304
|
||||
[#2297]: https://www.free-decompiler.com/flash/issues/2297
|
||||
[#2291]: https://www.free-decompiler.com/flash/issues/2291
|
||||
[#2290]: https://www.free-decompiler.com/flash/issues/2290
|
||||
[#2293]: https://www.free-decompiler.com/flash/issues/2293
|
||||
[#2294]: https://www.free-decompiler.com/flash/issues/2294
|
||||
[#2299]: https://www.free-decompiler.com/flash/issues/2299
|
||||
|
||||
@@ -1915,7 +1915,7 @@ public class XFLConverter {
|
||||
SoundTag st = (SoundTag) symbol;
|
||||
byte[] data = SWFInputStream.BYTE_ARRAY_EMPTY;
|
||||
try {
|
||||
data = new SoundExporter().exportSound(st, convertMp3ToWav ? SoundExportMode.WAV : SoundExportMode.MP3_WAV, true);
|
||||
data = new SoundExporter().exportSound(st, convertMp3ToWav ? SoundExportMode.WAV : SoundExportMode.MP3_WAV, false);
|
||||
} catch (IOException ex) {
|
||||
logger.log(Level.SEVERE, null, ex);
|
||||
}
|
||||
@@ -1931,7 +1931,7 @@ public class XFLConverter {
|
||||
}
|
||||
|
||||
String datFileName = null;
|
||||
if (convertMp3ToWav && decodedData != null) {
|
||||
if (decodedData != null) {
|
||||
long ts = getTimestamp(swf);
|
||||
datFileName = "M " + (datfiles.size() + 1) + " " + ts + ".dat";
|
||||
datfiles.put(datFileName, decodedData);
|
||||
|
||||
Reference in New Issue
Block a user