summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model/Encoding
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-04-16 15:21:42 +0000
committersr55 <[email protected]>2011-04-16 15:21:42 +0000
commit680ed831fb94849f57565665ed4f467f2d3283e5 (patch)
tree784b72fd4521cf5fc21b097a406d56051f5cd5c5 /win/CS/HandBrake.ApplicationServices/Model/Encoding
parenta05f96f954d41c88f91b1a254f8fa6982cb0e86b (diff)
WinGui:
- Moved DRC onto the advanced audio panel and tweaked the UI slightly. - Updated to Stylecop 4.5 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3934 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/Encoding')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs21
1 files changed, 20 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
index a6db51572..159beb8e8 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
@@ -15,6 +15,11 @@ namespace HandBrake.ApplicationServices.Model.Encoding
/// The gain value
/// </summary>
private int gain;
+
+ /// <summary>
+ /// The DRC Value
+ /// </summary>
+ private double drc;
#endregion
/// <summary>
@@ -99,7 +104,21 @@ namespace HandBrake.ApplicationServices.Model.Encoding
/// <summary>
/// Gets or sets Dynamic Range Compression
/// </summary>
- public double DRC { get; set; }
+ public double DRC
+ {
+ get
+ {
+ return this.drc;
+ }
+ set
+ {
+ if (!object.Equals(value, this.drc))
+ {
+ this.drc = value;
+ this.OnPropertyChanged("DRC");
+ }
+ }
+ }
/// <summary>
/// Gets or sets the Gain for the audio track