Fixed: #2284 FLA export - sounds should be WAV or MP3, not FLV

This commit is contained in:
Jindra Petřík
2024-08-19 17:43:38 +02:00
parent 20f5376090
commit f0b5cf8d05
2 changed files with 3 additions and 1 deletions

View File

@@ -1770,7 +1770,7 @@ public class XFLConverter {
long soundSampleCount = 0;
byte[] soundData = SWFInputStream.BYTE_ARRAY_EMPTY;
int[] rateMap = {5, 11, 22, 44};
String exportFormat = "flv";
String exportFormat = "wav";
if (symbol instanceof SoundStreamFrameRange) {
SoundStreamHeadTypeTag head = ((SoundStreamFrameRange) symbol).getHead();
soundFormat = head.getSoundFormatId();