Adjustments for use of LameWriter in CUETools

This commit is contained in:
chudov
2011-10-25 04:47:05 +00:00
parent da7ee90588
commit a4d33544fe
9 changed files with 192 additions and 46 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace CUETools.Codecs.LAME
{
public class LameWriterVBRSettings
{
[DefaultValue(LameQuality.High)]
public LameQuality Quality { get; set; }
public LameWriterVBRSettings()
{
// Iterate through each property and call ResetValue()
foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this)) {
property.ResetValue(this);
}
this.Quality = LameQuality.High;
}
}
}