mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
[CUETools.Codecs.FLACCL] Fix constructor
The constructor parameters of Activator.CreateInstance() were updated in CUETools.Processor\AudioReadWrite.cs as of commits16fccfeande1f8906. The parameter "settings" was added in front of path and IO, which required an update to the order of constructor parameters in several codecs. - Fixes the following error message, when using FLACCL codec: Exception: Constructor on type 'CUETools.Codecs.FLACCL.AudioEncoder' not found. - This is a follow-up commit to18c6c1a- Resolves #82
This commit is contained in:
@@ -372,7 +372,7 @@ namespace CUETools.Codecs.FLACCL
|
||||
|
||||
public const int MAX_BLOCKSIZE = 65536;
|
||||
|
||||
public AudioEncoder(string path, Stream IO, EncoderSettings settings)
|
||||
public AudioEncoder(EncoderSettings settings, string path, Stream IO)
|
||||
{
|
||||
m_settings = settings.Clone() as EncoderSettings;
|
||||
m_settings.Validate();
|
||||
@@ -396,11 +396,6 @@ namespace CUETools.Codecs.FLACCL
|
||||
crc8 = new Crc8();
|
||||
}
|
||||
|
||||
public AudioEncoder(string path, EncoderSettings settings)
|
||||
: this(path, null, settings)
|
||||
{
|
||||
}
|
||||
|
||||
public int TotalSize
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user