blob: 381e9d2c03adb508ad92870164d1d1d4b1978dec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AudioEncoding.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
// Defines the AudioEncoding type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Interop.Model.Encoding
{
using System;
/// <summary>
/// The Audio Encoding Model
/// </summary>
public class AudioEncoding
{
/// <summary>
/// Initializes a new instance of the AudioEncoding class.
/// </summary>
public AudioEncoding()
{
// Initialize to -1 to differentiate a compression of 0 from uninitialized.
this.Compression = -1;
}
/// <summary>
/// Gets or sets the chosen track to apply the encoding to.
/// </summary>
/// <remarks>1-based index. 0 means apply to all tracks.</remarks>
public int InputNumber { get; set; }
/// <summary>
/// Gets or sets the encoder to use.
/// </summary>
public string Encoder { get; set; }
/// <summary>
/// Gets or sets the encode rate type (bitrate or quality).
/// </summary>
public AudioEncodeRateType EncodeRateType { get; set; }
/// <summary>
/// Gets or sets the bitrate (in kbps) of this track.
/// </summary>
public int Bitrate { get; set; }
/// <summary>
/// Gets or sets the target audio quality for this track.
/// </summary>
public float Quality { get; set; }
/// <summary>
/// Gets or sets the target audio compression for this track.
/// </summary>
public float Compression { get; set; }
/// <summary>
/// Gets or sets the mixdown.
/// </summary>
public string Mixdown { get; set; }
/// <summary>
/// Gets or sets the sample rate in Hz.
/// </summary>
public int SampleRateRaw { get; set; }
/// <summary>
/// Gets or sets Gain.
/// </summary>
public int Gain { get; set; }
/// <summary>
/// Gets or sets Drc.
/// </summary>
public double Drc { get; set; }
/// <summary>
/// Gets or sets Name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is passthru.
/// </summary>
public bool IsPassthru { get; set; }
}
}
|