#ifndef MultiTracksPlayer_h
#define MultiTracksPlayer_h

#import "SuperpoweredCPU.h"
#import "SuperpoweredIOSAudioIO.h"
#import "SuperpoweredMixer.h"
#import "SuperpoweredSimple.h"
#import "SuperpoweredTimeStretching.h"
#import "Track.h"

@interface MultiTracksPlayer : NSObject

- (id)initWithTracksURLs:(NSArray *)tracksURLs;

- (void)play;

- (void)pause;

- (int)getDisplayPosition;

- (void)setPosition:(double)second andStop:(bool)andStop;

- (Float32)getBufferedPercentage;

- (Float32)getBufferedIndexPercentage:(unsigned int)index;

- (void)setVolume:(unsigned int)index left:(float)left right:(float)right;

- (void)setRate:(float)rate;

- (void)setPitchShiftCents:(int)pitchShiftCents;

@end

#endif
