Refactoring: moved Padding and BlockSize from IAudioDest to AudioEncoderSettings;

This commit is contained in:
Grigory Chudov
2013-04-04 22:07:15 -04:00
parent 1c9e76c421
commit b44e482dee
31 changed files with 255 additions and 550 deletions

View File

@@ -26,11 +26,6 @@ namespace CUETools.Codecs.WMA
private AudioPCMConfig pcm;
private long sampleCount, finalSampleCount;
public long BlockSize
{
set { }
}
public long FinalSampleCount
{
set
@@ -44,11 +39,6 @@ namespace CUETools.Codecs.WMA
get { return this.pcm; }
}
public long Padding
{
set { }
}
public string Path
{
get { return this.outputPath; }
@@ -64,9 +54,7 @@ namespace CUETools.Codecs.WMA
}
set
{
if (value != null && value.GetType() != typeof(AudioEncoderSettings))
throw new Exception("Unsupported options " + value);
m_settings = value;
m_settings = value.Clone<AudioEncoderSettings>();
}
}