mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Simplify codec settings. Check for non-Subset FLAC modes.
This commit is contained in:
@@ -46,17 +46,6 @@ namespace CUETools.Codecs
|
||||
return this.m_supported_modes;
|
||||
}
|
||||
|
||||
public virtual bool IsValid()
|
||||
{
|
||||
return BlockSize == 0 && Padding >= 0;
|
||||
}
|
||||
|
||||
public void Validate()
|
||||
{
|
||||
if (!IsValid())
|
||||
throw new Exception("unsupported encoder settings");
|
||||
}
|
||||
|
||||
public AudioEncoderSettings Clone()
|
||||
{
|
||||
return this.MemberwiseClone() as AudioEncoderSettings;
|
||||
|
||||
Reference in New Issue
Block a user