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