2013-10-05 06:01:33 -03:00
|
|
|
//
|
|
|
|
// OpusDecoder.h
|
|
|
|
// Opus
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 10/4/13.
|
|
|
|
// Copyright 2013 __NoWork, Inc__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "Plugin.h"
|
2022-02-07 02:49:27 -03:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2013-10-05 06:01:33 -03:00
|
|
|
|
2022-02-15 05:26:55 -03:00
|
|
|
#import <opusfile.h>
|
2013-10-05 06:01:33 -03:00
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
@interface OpusFile : NSObject <CogDecoder> {
|
2013-10-05 06:01:33 -03:00
|
|
|
id<CogSource> source;
|
2022-02-07 02:49:27 -03:00
|
|
|
|
|
|
|
OggOpusFile* opusRef;
|
2013-10-05 06:01:33 -03:00
|
|
|
int currentSection;
|
|
|
|
int lastSection;
|
2022-02-07 02:49:27 -03:00
|
|
|
|
2013-10-05 06:01:33 -03:00
|
|
|
BOOL seekable;
|
|
|
|
int bitrate;
|
|
|
|
int channels;
|
|
|
|
long totalFrames;
|
2022-02-09 18:44:50 -03:00
|
|
|
|
2022-07-08 09:26:28 -04:00
|
|
|
NSDictionary *metaDict;
|
|
|
|
NSDictionary *icyMetaDict;
|
2022-06-17 13:27:17 -04:00
|
|
|
|
2022-02-12 12:16:59 -03:00
|
|
|
NSData *albumArt;
|
2022-07-08 09:26:28 -04:00
|
|
|
|
|
|
|
float replayGainAlbumGain;
|
|
|
|
float replayGainTrackGain;
|
2013-10-05 06:01:33 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|