mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Refactored the LAME interop.
This commit is contained in:
18
CUETools.Codecs.LAME/LAMEEncoderVBRSettings.cs
Normal file
18
CUETools.Codecs.LAME/LAMEEncoderVBRSettings.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace CUETools.Codecs.LAME
|
||||
{
|
||||
public class LAMEEncoderVBRSettings
|
||||
{
|
||||
[DefaultValue(LAMEEncoderVBRProcessingQuality.Normal)]
|
||||
public LAMEEncoderVBRProcessingQuality Quality { get; set; }
|
||||
|
||||
public LAMEEncoderVBRSettings()
|
||||
{
|
||||
// Iterate through each property and call ResetValue()
|
||||
foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this)) {
|
||||
property.ResetValue(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user