Files
cuetools.net/CUETools.Codecs.LAME/LameWriterCBRSettings.cs
2011-10-25 04:47:05 +00:00

24 lines
630 B
C#

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