mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Fix priorities and constructores for ALAC and MACLib
This commit is contained in:
@@ -151,7 +151,7 @@ namespace CUETools.Codecs.ALAC
|
|||||||
|
|
||||||
List<int> chunk_pos;
|
List<int> chunk_pos;
|
||||||
|
|
||||||
public AudioEncoder(string path, Stream IO, EncoderSettings settings)
|
public AudioEncoder(EncoderSettings settings, string path, Stream IO)
|
||||||
{
|
{
|
||||||
m_settings = settings;
|
m_settings = settings;
|
||||||
m_settings.Validate();
|
m_settings.Validate();
|
||||||
@@ -179,11 +179,6 @@ namespace CUETools.Codecs.ALAC
|
|||||||
chunk_pos = new List<int>();
|
chunk_pos = new List<int>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AudioEncoder(string path, EncoderSettings settings)
|
|
||||||
: this(path, null, settings)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public int TotalSize
|
public int TotalSize
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace CUETools.Codecs.MACLib
|
|||||||
public Type DecoderType => typeof(AudioDecoder);
|
public Type DecoderType => typeof(AudioDecoder);
|
||||||
|
|
||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public int Priority => 1;
|
public int Priority => 2;
|
||||||
|
|
||||||
public IAudioDecoderSettings Clone()
|
public IAudioDecoderSettings Clone()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace CUETools.Codecs.libwavpack
|
|||||||
public Type DecoderType => typeof(AudioDecoder);
|
public Type DecoderType => typeof(AudioDecoder);
|
||||||
|
|
||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public int Priority => 1;
|
public int Priority => 2;
|
||||||
|
|
||||||
public IAudioDecoderSettings Clone()
|
public IAudioDecoderSettings Clone()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user