mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
64 lines
1.2 KiB
C#
64 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace CUETools.Codecs.CommandLine
|
|
{
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class EncoderSettings : AudioEncoderSettings
|
|
{
|
|
public override string Name => name;
|
|
|
|
public override string Extension => extension;
|
|
|
|
public override Type EncoderType => typeof(AudioEncoder);
|
|
|
|
public override bool Lossless => lossless;
|
|
|
|
public EncoderSettings()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
[JsonProperty]
|
|
public string name;
|
|
|
|
[JsonProperty]
|
|
public string extension;
|
|
|
|
[JsonProperty]
|
|
public bool lossless;
|
|
|
|
[DefaultValue(null)]
|
|
[JsonProperty]
|
|
public string Path
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DefaultValue(null)]
|
|
[JsonProperty]
|
|
public string Parameters
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonProperty]
|
|
public string SupportedModes
|
|
{
|
|
get
|
|
{
|
|
return m_supported_modes;
|
|
}
|
|
set
|
|
{
|
|
m_supported_modes = value;
|
|
}
|
|
}
|
|
}
|
|
}
|