@class RDAudioFile;

@interface RDAudioPlayback : NSObject
{
@private
    AUGraph _graph;
	AudioUnit _outputUnit;
}
- (id)initWithAudioFile:(RDAudioFile *)audioFile;

- (void)start;
- (void)stop;

- (BOOL)isPlaying;

- (float)currentProgress;
// It is not guaranteed that currentProgress will be equal to set progress.
- (void)setCurrentProgress:(float)progress;
@end
