mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Code cleanup; Reader classes renamed to Decoders, Writers to Encoders, every Decoder must have a corresponding Settings class now just like Encoders. UserDefinedEncoders renamed to CommandLineEncoders, etc.
This commit is contained in:
@@ -7,17 +7,25 @@ using Newtonsoft.Json;
|
||||
namespace CUETools.Codecs.BDLPCM
|
||||
{
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
public class BDLPCMDecoderSettings : AudioDecoderSettings
|
||||
public class DecoderSettings : AudioDecoderSettings
|
||||
{
|
||||
public BDLPCMDecoderSettings()
|
||||
{
|
||||
IgnoreShortItems = true;
|
||||
}
|
||||
public override string Extension => "m2ts";
|
||||
|
||||
public override string Name => "cuetools";
|
||||
|
||||
public override Type DecoderType => typeof(AudioDecoder);
|
||||
|
||||
public override int Priority => 2;
|
||||
|
||||
public bool IgnoreShortItems { get; set; }
|
||||
|
||||
public int? Stream { get; set; }
|
||||
|
||||
public ushort? Pid { get; set; }
|
||||
|
||||
public DecoderSettings() : base()
|
||||
{
|
||||
IgnoreShortItems = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user