public Subfile(IDataSource source, string name, string archiveName) : this(source, name, archiveName, ArchiveFileType.Raw) { if (name.EndsWith(".wav")) { Type = ArchiveFileType.WaveAudio; RequestedConversion = OpusEncoder.CreateConversionArgs(); } else if (name.EndsWith(".opus")) { Type = ArchiveFileType.OpusAudio; } else { Type = ArchiveFileType.Raw; } }