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:
Grigory Chudov
2018-03-23 19:26:26 -04:00
parent 8a5946ae89
commit 16fccfe5c9
71 changed files with 4530 additions and 4576 deletions

View File

@@ -25,8 +25,8 @@ namespace CUETools.Processor
arcp = new List<Type>();
arcp_fmt = new List<string>();
encs.Add(typeof(CUETools.Codecs.WAVWriter));
decs.Add(typeof(CUETools.Codecs.WAVReader));
encs.Add(typeof(CUETools.Codecs.WAV.AudioEncoder));
decs.Add(typeof(CUETools.Codecs.WAV.AudioDecoder));
//ApplicationSecurityInfo asi = new ApplicationSecurityInfo(AppDomain.CurrentDomain.ActivationContext);
//string arch = asi.ApplicationId.ProcessorArchitecture;
@@ -67,7 +67,7 @@ namespace CUETools.Processor
{
try
{
if (Attribute.GetCustomAttribute(type, typeof(AudioDecoderClass)) != null)
if (Attribute.GetCustomAttribute(type, typeof(AudioDecoderClassAttribute)) != null)
{
decs.Add(type);
}