2018-02-10 17:33:22 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using System.Text;
|
2018-03-23 19:26:26 -04:00
|
|
|
|
using Newtonsoft.Json;
|
2018-02-10 17:33:22 -05:00
|
|
|
|
|
|
|
|
|
|
namespace CUETools.Codecs.BDLPCM
|
|
|
|
|
|
{
|
2018-03-23 19:26:26 -04:00
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public class DecoderSettings : IAudioDecoderSettings
|
2018-02-10 17:33:22 -05:00
|
|
|
|
{
|
2018-03-25 17:24:27 -04:00
|
|
|
|
#region IAudioDecoderSettings implementation
|
|
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public string Extension => "m2ts";
|
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(AudioDecoder);
|
2018-03-24 12:15:49 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
|
|
|
|
|
public int Priority => 2;
|
2018-02-18 15:57:27 -05:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public IAudioDecoderSettings Clone()
|
|
|
|
|
|
{
|
|
|
|
|
|
return MemberwiseClone() as IAudioDecoderSettings;
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
public DecoderSettings()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Init();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[DefaultValue(true)]
|
2018-02-18 15:57:27 -05:00
|
|
|
|
public bool IgnoreShortItems { get; set; }
|
|
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
2018-02-14 21:54:03 -05:00
|
|
|
|
public int? Stream { get; set; }
|
|
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
[Browsable(false)]
|
2018-04-07 13:55:01 -04:00
|
|
|
|
public int? StreamId { get; set; }
|
2018-02-10 17:33:22 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|