summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioTrack.h')
-rw-r--r--macosx/HBAudioTrack.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/macosx/HBAudioTrack.h b/macosx/HBAudioTrack.h
index b0a5e0bea..678c138eb 100644
--- a/macosx/HBAudioTrack.h
+++ b/macosx/HBAudioTrack.h
@@ -7,23 +7,12 @@
#import <Foundation/Foundation.h>
@class HBAudioTrack;
+@class HBTitleAudioTrack;
NS_ASSUME_NONNULL_BEGIN
-/**
- * Audio track dicts keys.
- */
-extern NSString *keyAudioTrackIndex;
-extern NSString *keyAudioTrackName;
-extern NSString *keyAudioInputBitrate;
-extern NSString *keyAudioInputSampleRate;
-extern NSString *keyAudioInputCodec;
-extern NSString *keyAudioInputCodecParam;
-extern NSString *keyAudioInputChannelLayout;
-extern NSString *keyAudioTrackLanguageIsoCode;
-
@protocol HBAudioTrackDataSource <NSObject>
-- (NSDictionary<NSString *, id> *)sourceTrackAtIndex:(NSUInteger)idx;
+- (HBTitleAudioTrack *)sourceTrackAtIndex:(NSUInteger)idx;
- (NSArray<NSString *> *)sourceTracksArray;
@end
@@ -57,6 +46,8 @@ extern NSString *keyAudioTrackLanguageIsoCode;
@property (nonatomic, readwrite) double gain;
@property (nonatomic, readwrite) double drc;
+@property (nonatomic, readwrite, nullable) NSString *title;
+
@property (nonatomic, readonly, getter=isEnabled) BOOL enabled;
/**