2007-10-08 22:25:40 -04:00
|
|
|
//
|
|
|
|
// CueSheetDecoder.h
|
|
|
|
// CueSheet
|
|
|
|
//
|
|
|
|
// Created by Zaphod Beeblebrox on 10/8/07.
|
|
|
|
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import "Plugin.h"
|
|
|
|
|
2007-10-10 22:08:29 -04:00
|
|
|
@class CueSheet;
|
2007-10-08 22:25:40 -04:00
|
|
|
@class CueSheetTrack;
|
|
|
|
|
|
|
|
@interface CueSheetDecoder : NSObject <CogDecoder> {
|
2007-10-09 21:59:25 -04:00
|
|
|
id<CogSource> source;
|
2007-10-08 22:25:40 -04:00
|
|
|
id<CogDecoder> decoder;
|
2007-10-09 21:59:25 -04:00
|
|
|
|
2022-02-11 11:03:45 -03:00
|
|
|
NSURL *sourceURL;
|
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
int bytesPerFrame; // Number of bytes per frame, ie channels * (bitsPerSample/8)
|
2007-10-15 19:19:14 -03:00
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
long framePosition; // Current position in frames.
|
|
|
|
|
|
|
|
long trackStart; // Starting frame of track.
|
|
|
|
long trackEnd; // Frames until end of track.
|
|
|
|
|
|
|
|
BOOL embedded;
|
|
|
|
BOOL noFragment;
|
2022-02-08 00:18:45 -03:00
|
|
|
BOOL observersAdded;
|
2022-02-07 02:49:27 -03:00
|
|
|
NSURL *baseURL;
|
2007-10-15 19:19:14 -03:00
|
|
|
|
2007-10-10 22:08:29 -04:00
|
|
|
CueSheet *cuesheet;
|
2007-10-08 22:25:40 -04:00
|
|
|
CueSheetTrack *track;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|