cog/Plugins/CueSheet/CueSheetDecoder.h

32 lines
614 B
C
Raw Normal View History

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"
@class CueSheet;
2007-10-09 02:25:40 +00:00
@class CueSheetTrack;
@interface CueSheetDecoder : NSObject <CogDecoder> {
id<CogSource> source;
2007-10-09 02:25:40 +00:00
id<CogDecoder> decoder;
int bytesPerFrame; //Number of bytes per frame, ie channels * (bitsPerSample/8)
long framePosition; //Current position in frames.
long trackStart; //Starting frame of track.
long trackEnd; //Frames until end of track.
2007-10-09 02:25:40 +00:00
CueSheet *cuesheet;
2007-10-09 02:25:40 +00:00
CueSheetTrack *track;
}
@end