mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Code cleanup; Reader classes renamed to Decoders, Writers to Encoders, every Decoder must have a corresponding Settings class now just like Encoders. UserDefinedEncoders renamed to CommandLineEncoders, etc.
This commit is contained in:
24
CUETools.Codecs.lame_enc/LAMEEncoderCBRSettings.cs
Normal file
24
CUETools.Codecs.lame_enc/LAMEEncoderCBRSettings.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using CUETools.Codecs.LAME.Interop;
|
||||
|
||||
namespace CUETools.Codecs.LAME
|
||||
{
|
||||
public class LAMEEncoderCBRSettings : AudioEncoderSettings
|
||||
{
|
||||
public override Type EncoderType => typeof(LAMEEncoderCBR);
|
||||
|
||||
public static readonly uint[] bps_table = new uint[] { 96, 128, 192, 256, 320 };
|
||||
|
||||
[DefaultValue(0)]
|
||||
public int CustomBitrate { get; set; }
|
||||
|
||||
[DefaultValue(MpegMode.STEREO)]
|
||||
public MpegMode StereoMode { get; set; }
|
||||
|
||||
public LAMEEncoderCBRSettings()
|
||||
: base("96 128 192 256 320", "256")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user