2007-10-09 02:25:40 +00:00
|
|
|
//
|
|
|
|
// CueSheetTrack.h
|
|
|
|
// CueSheet
|
|
|
|
//
|
|
|
|
// Created by Zaphod Beeblebrox on 10/8/07.
|
|
|
|
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@interface CueSheetTrack : NSObject {
|
|
|
|
NSString *track;
|
2007-10-10 01:59:25 +00:00
|
|
|
NSURL *url;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2007-10-13 01:07:19 +00:00
|
|
|
NSString *artist;
|
|
|
|
NSString *album;
|
|
|
|
NSString *title;
|
|
|
|
NSString *genre;
|
|
|
|
NSString *year;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
|
|
|
float albumGain;
|
|
|
|
float albumPeak;
|
|
|
|
float trackGain;
|
|
|
|
float trackPeak;
|
|
|
|
|
|
|
|
double time; // Starting time for the track
|
|
|
|
BOOL timeInSamples;
|
2007-10-09 02:25:40 +00:00
|
|
|
}
|
|
|
|
|
2022-01-15 06:45:45 +00:00
|
|
|
+ (id)trackWithURL:(NSURL *)u track:(NSString *)t time:(double)s timeInSamples:(BOOL)tis artist:(NSString *)a album:(NSString *)b title:(NSString *)l genre:(NSString *)g year:(NSString *)y albumGain:(float)albumGain albumPeak:(float)albumPeak trackGain:(float)trackGain trackPeak:(float)trackPeak;
|
|
|
|
- (id)initWithURL:(NSURL *)u track:(NSString *)t time:(double)s timeInSamples:(BOOL)tis artist:(NSString *)a album:(NSString *)b title:(NSString *)l genre:(NSString *)g year:(NSString *)y albumGain:(float)albumGain albumPeak:(float)albumPeak trackGain:(float)trackGain trackPeak:(float)trackPeak;
|
2007-10-10 01:59:25 +00:00
|
|
|
|
2007-10-09 02:25:40 +00:00
|
|
|
- (NSString *)track;
|
2007-10-10 01:59:25 +00:00
|
|
|
- (NSURL *)url;
|
2007-10-13 01:07:19 +00:00
|
|
|
- (NSString *)artist;
|
|
|
|
- (NSString *)album;
|
|
|
|
- (NSString *)title;
|
|
|
|
- (NSString *)genre;
|
|
|
|
- (NSString *)year;
|
2007-10-09 02:25:40 +00:00
|
|
|
|
2022-01-15 02:51:44 +00:00
|
|
|
- (float)albumGain;
|
|
|
|
- (float)albumPeak;
|
|
|
|
- (float)trackGain;
|
|
|
|
- (float)trackPeak;
|
|
|
|
|
2007-10-10 01:59:25 +00:00
|
|
|
- (double)time;
|
2022-01-15 06:45:45 +00:00
|
|
|
- (BOOL)timeInSamples;
|
2007-10-09 02:25:40 +00:00
|
|
|
|
|
|
|
@end
|