--- OniSplit/Sound/AifExporter.cs 2020/01/22 14:08:57 1114 +++ OniSplit/Sound/AifExporter.cs 2020/05/28 21:28:44 1130 @@ -31,6 +31,10 @@ namespace Oni.Sound using (var stream = File.Create(Path.Combine(OutputDirPath, descriptor.FullName + ".aif"))) using (var writer = new BinaryWriter(stream)) { + if (!(sound.IsIMA4)) + { + throw new NotSupportedException("Transcoding from PC ADPCM to Mac/demo ADPCM not supported!"); + } writer.Write(Utils.ByteSwap(fcc_FORM)); writer.Write(Utils.ByteSwap(50 + sound.Data.Length)); writer.Write(Utils.ByteSwap(fcc_AIFC));