2018-03-25 17:24:27 -04:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.ComponentModel;
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
|
|
|
|
|
namespace CUETools.Codecs.WAV
|
|
|
|
|
|
{
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
|
public class DecoderSettings : IAudioDecoderSettings
|
2018-03-23 20:26:28 -04:00
|
|
|
|
{
|
2018-03-25 17:24:27 -04:00
|
|
|
|
#region IAudioDecoderSettings implementation
|
|
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public string Extension => "wav";
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public string Name => "cuetools";
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public Type DecoderType => typeof(AudioDecoder);
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public int Priority => 2;
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public IAudioDecoderSettings Clone()
|
|
|
|
|
|
{
|
|
|
|
|
|
return MemberwiseClone() as IAudioDecoderSettings;
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public DecoderSettings()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Init();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool IgnoreChunkSizes { get; set; }
|
2018-03-23 20:26:28 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|