summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudio.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2011-05-26 15:48:37 +0000
committerdynaflash <[email protected]>2011-05-26 15:48:37 +0000
commite4683402a0d12ad84e3a3b7fc1a584a7491c5044 (patch)
tree8b74bba99334f4029ad3fbba8219071602f15d19 /macosx/HBAudio.m
parent8ff47961addfc83c7e7b0e468b9b56d2c328b03e (diff)
MacGui: Clean up internal architecture of HB Audio and HBAudioController
- patch by blindjimmy ... as always .... thank you! - as per https://reviews.handbrake.fr/r/81/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4002 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudio.m')
-rw-r--r--macosx/HBAudio.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m
index 0d0f42031..408474359 100644
--- a/macosx/HBAudio.m
+++ b/macosx/HBAudio.m
@@ -400,8 +400,6 @@ static NSMutableArray *masterBitRateArray = nil;
@synthesize mixdowns;
@synthesize bitRates;
-- (NSArray *) tracks { return [controller masterTrackArray]; }
-
- (NSArray *) sampleRates { return masterSampleRateArray; }
- (void) dealloc
@@ -471,8 +469,7 @@ static NSMutableArray *masterBitRateArray = nil;
- (void) setTrackFromIndex: (int) aValue
{
- [self setTrack: [[self tracks] dictionaryWithObject: [NSNumber numberWithInt: aValue] matchingKey: keyAudioTrackIndex]];
- return;
+ [self setTrack: [self.controller.masterTrackArray dictionaryWithObject: [NSNumber numberWithInt: aValue] matchingKey: keyAudioTrackIndex]];
}
// This returns whether it is able to set the actual codec desired.