2018-03-24 12:15:49 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CUETools.Codecs.MPLS
|
|
|
|
|
|
{
|
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public class DecoderSettings : IAudioDecoderSettings
|
2018-03-24 12:15:49 -04:00
|
|
|
|
{
|
2018-03-25 17:24:27 -04:00
|
|
|
|
#region IAudioDecoderSettings implementation
|
|
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public string Extension => "mpls";
|
2018-03-24 12:15:49 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public string Name => "cuetools";
|
2018-03-24 12:15:49 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public Type DecoderType => typeof(BDLPCM.MPLSDecoder);
|
2018-03-24 12:15:49 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public int Priority => 2;
|
2018-03-24 12:15:49 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public IAudioDecoderSettings Clone()
|
|
|
|
|
|
{
|
|
|
|
|
|
return MemberwiseClone() as IAudioDecoderSettings;
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
public DecoderSettings()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Init();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[DefaultValue(true)]
|
2018-03-24 12:15:49 -04:00
|
|
|
|
public bool IgnoreShortItems { get; set; }
|
|
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
2018-03-24 12:15:49 -04:00
|
|
|
|
public int? Stream { get; set; }
|
|
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
2018-03-24 12:15:49 -04:00
|
|
|
|
public ushort? Pid { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|