2007-10-20 16:15:02 +00:00
|
|
|
//
|
|
|
|
// APLDecoder.h
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import "Plugin.h"
|
|
|
|
|
|
|
|
@class APLFile;
|
|
|
|
|
|
|
|
@interface APLDecoder : NSObject <CogDecoder> {
|
|
|
|
id<CogSource> source;
|
|
|
|
id<CogDecoder> decoder;
|
|
|
|
|
|
|
|
int bytesPerFrame; //Number of bytes per frame, ie channels * (bitsPerSample/8)
|
2008-05-09 21:24:49 +00:00
|
|
|
long framePosition; //current position in frames
|
2007-10-20 16:15:02 +00:00
|
|
|
|
|
|
|
|
2008-05-09 21:24:49 +00:00
|
|
|
long trackStart;
|
|
|
|
long trackEnd; //frames until end of track.
|
|
|
|
long trackLength; //track len in frames
|
2007-10-20 16:15:02 +00:00
|
|
|
|
|
|
|
APLFile *apl;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|