AudioSource.h 431 B

1234567891011121314
  1. #import <FlutterMacOS/FlutterMacOS.h>
  2. @interface AudioSource : NSObject
  3. @property (readonly, nonatomic) NSString* sourceId;
  4. - (instancetype)initWithId:(NSString *)sid;
  5. - (int)buildSequence:(NSMutableArray *)sequence treeIndex:(int)treeIndex;
  6. - (void)findById:(NSString *)sourceId matches:(NSMutableArray<AudioSource *> *)matches;
  7. - (NSArray *)getShuffleOrder;
  8. - (int)shuffle:(int)treeIndex currentIndex:(int)currentIndex;
  9. @end