Cog/Plugins/APL/APLDecoder.h
vasfed e063790e93 Updated APL plugin to use new protocol
Added support for behavior modifiers on addition/opening of files
Added Command+Control as modifier for open/enqueue
2008-05-09 21:24:49 +00:00

25 lines
444 B
Objective-C

//
// 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)
long framePosition; //current position in frames
long trackStart;
long trackEnd; //frames until end of track.
long trackLength; //track len in frames
APLFile *apl;
}
@end