mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Refactoring: moved Padding and BlockSize from IAudioDest to AudioEncoderSettings;
This commit is contained in:
@@ -58,11 +58,6 @@ namespace CUETools.Codecs.LAME
|
||||
private uint m_finalSampleCount;
|
||||
private byte[] m_outputBuffer;
|
||||
|
||||
public long BlockSize
|
||||
{
|
||||
set { }
|
||||
}
|
||||
|
||||
public long FinalSampleCount
|
||||
{
|
||||
set
|
||||
@@ -80,11 +75,6 @@ namespace CUETools.Codecs.LAME
|
||||
get { return this.m_pcm; }
|
||||
}
|
||||
|
||||
public long Padding
|
||||
{
|
||||
set { }
|
||||
}
|
||||
|
||||
public string Path
|
||||
{
|
||||
get { return this.m_outputPath; }
|
||||
@@ -100,9 +90,7 @@ namespace CUETools.Codecs.LAME
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value as LameWriterSettings == null)
|
||||
throw new InvalidOperationException("Unsupported options " + value);
|
||||
m_settings = value as LameWriterSettings;
|
||||
m_settings = value.Clone<LameWriterSettings>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user