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;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
|
|
|
int bytesPerFrame; // Number of bytes per frame, ie channels * (bitsPerSample/8)
|
|
|
|
long framePosition; // current position in frames
|
|
|
|
|
2008-05-09 21:24:49 +00:00
|
|
|
long trackStart;
|
2022-02-07 05:49:27 +00:00
|
|
|
long trackEnd; // frames until end of track.
|
|
|
|
long trackLength; // track len in frames
|
|
|
|
|
2007-10-20 16:15:02 +00:00
|
|
|
APLFile *apl;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|