summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrack.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioTrack.m')
-rw-r--r--macosx/HBAudioTrack.m16
1 files changed, 14 insertions, 2 deletions
diff --git a/macosx/HBAudioTrack.m b/macosx/HBAudioTrack.m
index a30f7eafb..7a6eb725e 100644
--- a/macosx/HBAudioTrack.m
+++ b/macosx/HBAudioTrack.m
@@ -563,8 +563,12 @@ static NSMutableArray *masterBitRateArray = nil;
return retval;
}
-#pragma mark -
-#pragma mark Bindings Support
+#pragma mark - Bindings Support
+
+- (NSArray *)masterTrackArray
+{
+ return self.dataSource.masterTrackArray;
+}
- (BOOL)enabled
{
@@ -635,6 +639,14 @@ static NSMutableArray *masterBitRateArray = nil;
return retval;
}
+- (void)setNilValueForKey:(NSString *)key
+{
+ if ([key isEqualToString:@"drc"] || [key isEqualToString:@"gain"])
+ {
+ [self setValue:@0 forKey:key];
+ }
+}
+
+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key
{
NSSet *retval = nil;