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
|
|
|
|
2007-10-15 22:19:14 +00:00
|
|
|
int bytesPerFrame; //Number of bytes per frame, ie channels * (bitsPerSample/8)
|
|
|
|
|
2008-03-30 15:43:28 +00:00
|
|
|
long framePosition; //Current position in frames.
|
2007-10-15 22:19:14 +00:00
|
|
|
|
2008-03-30 15:43:28 +00:00
|
|
|
long trackStart; //Starting frame of track.
|
|
|
|
long trackEnd; //Frames until end of track.
|
2007-10-09 02:25:40 +00:00
|
|
|
|
2007-10-11 02:08:29 +00:00
|
|
|
CueSheet *cuesheet;
|
2007-10-09 02:25:40 +00:00
|
|
|
CueSheetTrack *track;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|