mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Cleanup IAudioDest; CompressionLevel is now part of AudioEncoderSettings.
FLAC encoders no longer offer non-subset compression levels by default.
This commit is contained in:
@@ -27,21 +27,15 @@ namespace CUETools.DSP.Mixer
|
||||
set { throw new NotSupportedException(); }
|
||||
}
|
||||
|
||||
public int CompressionLevel
|
||||
{
|
||||
get { return 0; }
|
||||
set { throw new NotSupportedException(); }
|
||||
}
|
||||
|
||||
public object Settings
|
||||
public AudioEncoderSettings Settings
|
||||
{
|
||||
get
|
||||
{
|
||||
return null;
|
||||
return new AudioEncoderSettings();
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != null && value.GetType() != typeof(object))
|
||||
if (value != null && value.GetType() != typeof(AudioEncoderSettings))
|
||||
throw new Exception("Unsupported options " + value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user