summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioTrack.h')
-rw-r--r--macosx/HBAudioTrack.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/macosx/HBAudioTrack.h b/macosx/HBAudioTrack.h
index f7dcc88fe..136f0729c 100644
--- a/macosx/HBAudioTrack.h
+++ b/macosx/HBAudioTrack.h
@@ -7,6 +7,7 @@
#import <Foundation/Foundation.h>
@class HBAudio;
+@protocol HBAudioTrackDataSource;
/**
* Audio track dicts keys.
@@ -39,7 +40,7 @@ extern NSString *keyAudioBitrate;
@property (nonatomic, retain) NSNumber *drc;
@property (nonatomic, retain) NSNumber *gain;
@property (nonatomic, retain) NSNumber *videoContainerTag;
-@property (nonatomic, assign) HBAudio *controller;
+@property (nonatomic, assign) id<HBAudioTrackDataSource> dataSource;
@property (nonatomic, retain) NSMutableArray *codecs;
@property (nonatomic, retain) NSMutableArray *mixdowns;
@@ -54,3 +55,11 @@ extern NSString *keyAudioBitrate;
- (void) setBitRateFromName: (NSString *) aValue;
@end
+
+@protocol HBAudioTrackDataSource <NSObject>
+- (NSDictionary *)noneTrack;
+- (NSArray *)masterTrackArray;
+
+- (void)settingTrackToNone:(HBAudioTrack *)newNoneTrack;
+- (void)switchingTrackFromNone:(HBAudioTrack *)noLongerNoneTrack;
+@end