Browse Source

Fix OGG conversion (close #495)

Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
2a69ba0350
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hxd/res/FileTree.hx

+ 1 - 1
hxd/res/FileTree.hx

@@ -143,7 +143,7 @@ class FileTree {
 			if( options.compressAsMp3 )
 				fs.addConvert(new hxd.fs.Convert.ConvertWAV2MP3());
 			else if( options.compressSounds )
-				fs.addConvert(new hxd.fs.Convert.ConvertWAV2MP3());
+				fs.addConvert(new hxd.fs.Convert.ConvertWAV2OGG());
 			fs.tmpDir = options.tmpDir;
 			fs.onConvert = function(f) Sys.println("Converting " + f.path);
 			embedRec(tree, path, fs);