2007-10-09 02:25:40 +00: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-11 02:08:29 +00:00
|
|
|
@class CueSheet;
|
2007-10-09 02:25:40 +00:00
|
|
|
@class CueSheetTrack;
|
|
|
|
|
|
|
|
@interface CueSheetDecoder : NSObject <CogDecoder> {
|
2007-10-10 01:59:25 +00:00
|
|
|
id<CogSource> source;
|
2007-10-09 02:25:40 +00:00
|
|
|
id<CogDecoder> decoder;
|
2007-10-10 01:59:25 +00:00
|
|
|
|
2022-02-11 14:03:45 +00:00
|
|
|
NSURL *sourceURL;
|
|
|
|
|
2022-06-25 09:38:17 +00:00
|
|
|
BOOL seekedToStart;
|
|
|
|
|
2022-02-07 05:49:27 +00:00
|
|
|
int bytesPerFrame; // Number of bytes per frame, ie channels * (bitsPerSample/8)
|
2007-10-15 22:19:14 +00:00
|
|
|
|
2022-02-07 05:49:27 +00: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 03:18:45 +00:00
|
|
|
BOOL observersAdded;
|
2022-02-07 05:49:27 +00:00
|
|
|
NSURL *baseURL;
|
2007-10-15 22:19:14 +00:00
|
|
|
|
2007-10-11 02:08:29 +00:00
|
|
|
CueSheet *cuesheet;
|
2007-10-09 02:25:40 +00:00
|
|
|
CueSheetTrack *track;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|