Refactoring codecs infrastructure:

AudioWriterSettings passed to IAdioDest constructors now
AudioWriterSettings now includes AudioPCMConfig
This commit is contained in:
Grigory Chudov
2013-04-07 20:41:58 -04:00
parent b44e482dee
commit 9670c6c891
43 changed files with 652 additions and 723 deletions

View File

@@ -935,18 +935,8 @@ namespace CUETools.AccurateRip
{
get
{
return new AudioEncoderSettings();
return new AudioEncoderSettings(AudioPCMConfig.RedBook);
}
set
{
if (value != null && value.GetType() != typeof(AudioEncoderSettings))
throw new Exception("Unsupported options " + value);
}
}
public AudioPCMConfig PCM
{
get { return AudioPCMConfig.RedBook; }
}
public CDImageLayout TOC

View File

@@ -417,18 +417,8 @@ namespace CUETools.AccurateRip
{
get
{
return new AudioEncoderSettings();
return new AudioEncoderSettings(AudioPCMConfig.RedBook);
}
set
{
if (value != null && value.GetType() != typeof(AudioEncoderSettings))
throw new Exception("Unsupported options " + value);
}
}
public AudioPCMConfig PCM
{
get { return AudioPCMConfig.RedBook; }
}
public string Path