mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Adjustments for use of LameWriter in CUETools
This commit is contained in:
22
CUETools.Codecs.LAME/LameWriterVBRSettings.cs
Normal file
22
CUETools.Codecs.LAME/LameWriterVBRSettings.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user